Class AssociationConverter

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

    public class AssociationConverter
    extends ArtifactConverter
    • Constructor Detail

      • AssociationConverter

        public AssociationConverter​(com.thoughtworks.xstream.XStream xstream)
    • Method Detail

      • canConvert

        public boolean canConvert​(java.lang.Class clazz)
        Specified by:
        canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
        Specified by:
        canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
      • assignChildElement

        protected void assignChildElement​(java.lang.Object parent,
                                          java.lang.String nodeName,
                                          java.lang.Object child)
        Overrides:
        assignChildElement in class DMNElementConverter
      • assignAttributes

        protected void assignAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                        java.lang.Object parent)
        Overrides:
        assignAttributes in class DMNElementConverter
      • writeChildren

        protected void writeChildren​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                     com.thoughtworks.xstream.converters.MarshallingContext context,
                                     java.lang.Object parent)
        Overrides:
        writeChildren in class DMNElementConverter
      • writeAttributes

        protected void writeAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                       java.lang.Object parent)
        Overrides:
        writeAttributes in class DMNElementConverter