public class DiagramElementExtensionConverter extends DMNModelInstrumentedBaseConverter
Constructor and Description |
---|
DiagramElementExtensionConverter(com.thoughtworks.xstream.XStream xstream) |
DiagramElementExtensionConverter(com.thoughtworks.xstream.XStream xStream,
List<org.kie.dmn.api.marshalling.DMNExtensionRegister> extensionRegisters) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
Object parent) |
void |
assignChildElement(Object parent,
String nodeName,
Object child) |
boolean |
canConvert(Class clazz) |
protected org.kie.dmn.model.api.DMNModelInstrumentedBase |
createModelObject() |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
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, writeChildrenNode, writeChildrenNodeAsValue
public DiagramElementExtensionConverter(com.thoughtworks.xstream.XStream xStream, List<org.kie.dmn.api.marshalling.DMNExtensionRegister> extensionRegisters)
public DiagramElementExtensionConverter(com.thoughtworks.xstream.XStream xstream)
protected void assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)
assignAttributes
in class DMNModelInstrumentedBaseConverter
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
unmarshal
in interface com.thoughtworks.xstream.converters.Converter
unmarshal
in class DMNBaseConverter
protected void writeAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, Object parent)
writeAttributes
in class DMNModelInstrumentedBaseConverter
protected void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)
writeChildren
in class DMNModelInstrumentedBaseConverter
protected org.kie.dmn.model.api.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
public void assignChildElement(Object parent, String nodeName, Object child)
assignChildElement
in class DMNModelInstrumentedBaseConverter
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.