Class FilterConverter
- 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.FilterConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class FilterConverter extends ExpressionConverter
-
-
Field Summary
Fields Modifier and Type Field Description static StringINstatic StringMATCH-
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 FilterConverter(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 clazz)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.ExpressionConverter
assignAttributes, writeAttributes
-
Methods inherited from class org.kie.dmn.backend.marshalling.v1_4.xstream.DMNBaseConverter
marshal, mvDownConvertAnotherMvUpAssignChildElement, unmarshal, writeChildrenNode, writeChildrenNodeAsValue
-
-
-
-
Field Detail
-
IN
public static final String IN
- See Also:
- Constant Field Values
-
MATCH
public static final String MATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
assignChildElement
protected void assignChildElement(Object parent, String nodeName, Object child)
- Overrides:
assignChildElementin classDMNElementConverter
-
writeChildren
protected void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)- Overrides:
writeChildrenin classDMNElementConverter
-
createModelObject
protected org.kie.dmn.model.api.DMNModelInstrumentedBase createModelObject()
- Specified by:
createModelObjectin classDMNBaseConverter
-
canConvert
public boolean canConvert(Class clazz)
- 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
-
-