public abstract class XMLSerializationNode extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
XMLSerializationNode.NodeGetter |
Modifier and Type | Field and Description |
---|---|
protected XMLSerializationNode.NodeGetter |
collectionGetter |
protected String |
defaultVal |
protected DataEncoder |
encoder |
protected boolean |
isCollection |
protected XMLSerializationNode.NodeGetter |
nodeGetter |
protected XMLElementSerializationNode |
parent |
protected QName |
qName |
Modifier | Constructor and Description |
---|---|
protected |
XMLSerializationNode(QName qName) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyProperties(XMLSerializationNode node) |
XMLSerializationNode.NodeGetter |
getCollectionGetter() |
static <T extends XMLSerializationNode> |
getNode(QName qName,
Collection<T> nodeList) |
XMLSerializationNode.NodeGetter |
getNodeGetter() |
XMLElementSerializationNode |
getParent() |
QName |
getQName() |
protected String |
getValue(SerializationContext context) |
protected boolean |
hasData(SerializationContext context) |
abstract void |
serialize(Writer outputStream,
SerializationContext context) |
void |
setCollectionGetter(String contextObjectName,
GetterGraph getter) |
void |
setDefaultVal(String defaultVal) |
void |
setEncoder(DataEncoder encoder) |
void |
setGetter(Getter getter) |
void |
setGetter(GetterGraph getter) |
void |
setIsCollection(boolean isCollection) |
void |
setParent(XMLElementSerializationNode parent) |
String |
toString() |
protected void |
writeName(Writer outputStream) |
protected QName qName
protected XMLElementSerializationNode parent
protected DataEncoder encoder
protected String defaultVal
protected boolean isCollection
protected XMLSerializationNode.NodeGetter nodeGetter
protected XMLSerializationNode.NodeGetter collectionGetter
protected XMLSerializationNode(QName qName)
public QName getQName()
public XMLElementSerializationNode getParent()
public void setParent(XMLElementSerializationNode parent)
public void setEncoder(DataEncoder encoder)
public void setDefaultVal(String defaultVal)
public void setIsCollection(boolean isCollection)
public abstract void serialize(Writer outputStream, SerializationContext context) throws IOException
IOException
protected String getValue(SerializationContext context)
public void setGetter(GetterGraph getter)
public void setGetter(Getter getter)
public void setCollectionGetter(String contextObjectName, GetterGraph getter)
public XMLSerializationNode.NodeGetter getNodeGetter()
public XMLSerializationNode.NodeGetter getCollectionGetter()
protected void writeName(Writer outputStream) throws IOException
IOException
public static <T extends XMLSerializationNode> T getNode(QName qName, Collection<T> nodeList)
protected void copyProperties(XMLSerializationNode node)
protected boolean hasData(SerializationContext context)
Copyright © 2020. All rights reserved.