Class ForConverter
- java.lang.Object
-
- com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.DMNBaseConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.DMNModelInstrumentedBaseConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.DMNElementConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.ExpressionConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.IteratorConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.ForConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class ForConverter extends IteratorConverter
-
-
Field Summary
Fields Modifier and Type Field Description static StringRETURN-
Fields inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.IteratorConverter
IN, ITERATOR_VARIABLE
-
Fields inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.ExpressionConverter
TYPE_REF
-
Fields inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.DMNElementConverter
DESCRIPTION, EXTENSION_ELEMENTS, ID, LABEL
-
Fields inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.DMNModelInstrumentedBaseConverter
xstream
-
-
Constructor Summary
Constructors Constructor Description ForConverter(com.thoughtworks.xstream.XStream xstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassignChildElement(Object parent, String nodeName, Object child)booleancanConvert(Class type)protected org.kie.dmn.model.api.DMNModelInstrumentedBasecreateModelObject()protected voidparseElements(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Object parent)protected voidwriteChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)-
Methods inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.IteratorConverter
assignAttributes, writeAttributes
-
Methods inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.DMNBaseConverter
marshal, mvDownConvertAnotherMvUpAssignChildElement, unmarshal, writeChildrenNode, writeChildrenNodeAsValue
-
-
-
-
Field Detail
-
RETURN
public static final String RETURN
- See Also:
- Constant Field Values
-
-
Method Detail
-
assignChildElement
protected void assignChildElement(Object parent, String nodeName, Object child)
- Overrides:
assignChildElementin classIteratorConverter
-
writeChildren
protected void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)- Overrides:
writeChildrenin classIteratorConverter
-
createModelObject
protected org.kie.dmn.model.api.DMNModelInstrumentedBase createModelObject()
- Specified by:
createModelObjectin classDMNBaseConverter
-
canConvert
public boolean canConvert(Class type)
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher- Specified by:
canConvertin classcom.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
-
parseElements
protected void parseElements(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Object parent)- Overrides:
parseElementsin classDMNBaseConverter
-
-