public abstract class DMNBaseConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
Constructor and Description |
---|
DMNBaseConverter(com.thoughtworks.xstream.mapper.Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
Object parent) |
protected abstract void |
assignChildElement(Object parent,
String nodeName,
Object child) |
protected abstract org.kie.dmn.model.api.DMNModelInstrumentedBase |
createModelObject() |
void |
marshal(Object object,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context) |
protected void |
parseElements(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context,
Object parent) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context) |
protected abstract void |
writeAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
Object parent) |
protected abstract void |
writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context,
Object parent) |
protected void |
writeChildrenNode(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context,
Object node,
String nodeAlias) |
protected void |
writeChildrenNodeAsValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context,
String nodeValue,
String nodeAlias) |
public DMNBaseConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
public void marshal(Object object, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
marshal
in interface com.thoughtworks.xstream.converters.Converter
marshal
in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
protected void writeChildrenNode(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object node, String nodeAlias)
protected void writeChildrenNodeAsValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String nodeValue, String nodeAlias)
protected abstract void writeChildren(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, Object parent)
protected abstract void writeAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, Object parent)
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 com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
protected void parseElements(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Object parent)
protected abstract org.kie.dmn.model.api.DMNModelInstrumentedBase createModelObject()
protected abstract void assignChildElement(Object parent, String nodeName, Object child)
protected abstract void assignAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, Object parent)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.