Class KnowledgeSourceConverter
- 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.NamedElementConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.DRGElementConverter
-
- org.kie.dmn.backend.marshalling.v1_4.xstream.KnowledgeSourceConverter
-
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
public class KnowledgeSourceConverter extends DRGElementConverter
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHORITY_REQUIREMENTstatic StringLOCATION_URIstatic StringOWNERstatic StringTYPE-
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 KnowledgeSourceConverter(com.thoughtworks.xstream.XStream xstream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)protected voidassignChildElement(Object parent, String nodeName, Object child)booleancanConvert(Class clazz)protected org.kie.dmn.model.api.DMNModelInstrumentedBasecreateModelObject()protected voidwriteAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, 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.DMNBaseConverter
marshal, mvDownConvertAnotherMvUpAssignChildElement, parseElements, unmarshal, writeChildrenNode, writeChildrenNodeAsValue
-
-
-
-
Field Detail
-
OWNER
public static final String OWNER
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
AUTHORITY_REQUIREMENT
public static final String AUTHORITY_REQUIREMENT
- See Also:
- Constant Field Values
-
LOCATION_URI
public static final String LOCATION_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
assignChildElement
protected void assignChildElement(Object parent, String nodeName, Object child)
- Overrides:
assignChildElementin classDRGElementConverter
-
assignAttributes
protected void assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)- Overrides:
assignAttributesin classDRGElementConverter
-
writeChildren
protected void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)- Overrides:
writeChildrenin classDRGElementConverter
-
writeAttributes
protected void writeAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, Object parent)- Overrides:
writeAttributesin classDRGElementConverter
-
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
-
-