public abstract class XMLSerializationNode extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
XMLSerializationNode.NodeGetter |
Modifier and Type | Field and Description |
---|---|
protected XMLSerializationNode.NodeGetter |
collectionGetter |
protected String |
defaultVal |
protected boolean |
isCollection |
protected XMLSerializationNode.NodeGetter |
nodeGetter |
protected XMLElementSerializationNode |
parent |
protected QName |
qName |
protected org.smooks.api.converter.TypeConverter<?,? extends String> |
typeConverter |
Modifier | Constructor and Description |
---|---|
protected |
XMLSerializationNode(QName qName) |
protected QName qName
protected XMLElementSerializationNode parent
protected org.smooks.api.converter.TypeConverter<?,? extends String> typeConverter
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 setTypeConverter(org.smooks.api.converter.TypeConverter<?,? extends String> typeConverter)
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 © 2024. All rights reserved.