Class NamedExpressionConverter

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

    public class NamedExpressionConverter
    extends org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter
    • Field Summary

      • Fields inherited from class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter

        xstream
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedExpressionConverter​(com.thoughtworks.xstream.XStream xstream)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assignAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)  
      protected void assignChildElement​(Object parent, String nodeName, Object child)  
      boolean canConvert​(Class type)  
      protected org.kie.dmn.model.api.DMNModelInstrumentedBase createModelObject()  
      protected void writeAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, Object parent)  
      protected void writeChildren​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)  
      • Methods inherited from class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNBaseConverter

        marshal, parseElements, unmarshal, writeChildrenNode, writeChildrenNodeAsValue
      • Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter

        createCollection, mapper, readBareItem, readCompleteItem, readItem, writeBareItem, writeCompleteItem, writeItem, writeNullItem
    • Constructor Detail

      • NamedExpressionConverter

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

      • assignChildElement

        protected void assignChildElement​(Object parent,
                                          String nodeName,
                                          Object child)
        Overrides:
        assignChildElement in class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter
      • assignAttributes

        protected void assignAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                        Object parent)
        Overrides:
        assignAttributes in class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter
      • writeChildren

        protected void writeChildren​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                     com.thoughtworks.xstream.converters.MarshallingContext context,
                                     Object parent)
        Overrides:
        writeChildren in class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter
      • writeAttributes

        protected void writeAttributes​(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                                       Object parent)
        Overrides:
        writeAttributes in class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNModelInstrumentedBaseConverter
      • createModelObject

        protected org.kie.dmn.model.api.DMNModelInstrumentedBase createModelObject()
        Specified by:
        createModelObject in class org.kie.dmn.backend.marshalling.v1_3.xstream.DMNBaseConverter
      • canConvert

        public boolean canConvert​(Class type)
        Specified by:
        canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
        Specified by:
        canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter