public class KnowledgeSourceConverter extends DRGElementConverter
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORITY_REQUIREMENT |
static String |
LOCATION_URI |
static String |
OWNER |
static String |
TYPE |
DESCRIPTION, EXTENSION_ELEMENTS, ID, LABEL
Constructor and Description |
---|
KnowledgeSourceConverter(com.thoughtworks.xstream.XStream xstream) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
Object parent) |
protected void |
assignChildElement(Object parent,
String nodeName,
Object child) |
boolean |
canConvert(Class clazz) |
protected org.kie.dmn.model.v1_1.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) |
marshal, parseElements, unmarshal, writeChildrenNode, writeChildrenNodeAsValue
public static final String OWNER
public static final String TYPE
public static final String AUTHORITY_REQUIREMENT
public static final String LOCATION_URI
public KnowledgeSourceConverter(com.thoughtworks.xstream.XStream xstream)
protected void assignChildElement(Object parent, String nodeName, Object child)
assignChildElement
in class DRGElementConverter
protected void assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)
assignAttributes
in class DRGElementConverter
protected void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)
writeChildren
in class DRGElementConverter
protected void writeAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, Object parent)
writeAttributes
in class DRGElementConverter
protected org.kie.dmn.model.v1_1.DMNModelInstrumentedBase createModelObject()
createModelObject
in class DMNBaseConverter
public boolean canConvert(Class clazz)
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
canConvert
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.