public class XMLElementSerializationNode extends XMLSerializationNode
XMLSerializationNode.NodeGetter
collectionGetter, defaultVal, encoder, isCollection, nodeGetter, parent, qName
Constructor and Description |
---|
XMLElementSerializationNode(QName qName) |
Modifier and Type | Method and Description |
---|---|
static XMLSerializationNode |
addAttributeNode(XMLElementSerializationNode elementNode,
SelectorStep selectorStep,
boolean create) |
protected Object |
clone() |
XMLSerializationNode |
findNode(SelectorStep[] selectorSteps) |
static XMLAttributeSerializationNode |
getAttribute(SelectorStep step,
Collection<XMLAttributeSerializationNode> attributeList,
boolean create) |
List<XMLAttributeSerializationNode> |
getAttributes() |
static XMLElementSerializationNode |
getElement(SelectorStep step,
Collection<XMLElementSerializationNode> elementList,
boolean create) |
List<XMLElementSerializationNode> |
getElements() |
XMLSerializationNode |
getPathNode(SelectorStep[] selectorSteps,
int stepIndex,
boolean create) |
protected boolean |
hasData(SerializationContext context) |
void |
serialize(Writer outputStream,
SerializationContext context) |
copyProperties, getCollectionGetter, getNode, getNodeGetter, getParent, getQName, getValue, setCollectionGetter, setDefaultVal, setEncoder, setGetter, setGetter, setIsCollection, setParent, toString, writeName
public XMLElementSerializationNode(QName qName)
public List<XMLAttributeSerializationNode> getAttributes()
public List<XMLElementSerializationNode> getElements()
public void serialize(Writer outputStream, SerializationContext context) throws IOException
serialize
in class XMLSerializationNode
IOException
protected boolean hasData(SerializationContext context)
hasData
in class XMLSerializationNode
public XMLSerializationNode findNode(SelectorStep[] selectorSteps)
public XMLSerializationNode getPathNode(SelectorStep[] selectorSteps, int stepIndex, boolean create)
public static XMLSerializationNode addAttributeNode(XMLElementSerializationNode elementNode, SelectorStep selectorStep, boolean create)
public static XMLElementSerializationNode getElement(SelectorStep step, Collection<XMLElementSerializationNode> elementList, boolean create)
public static XMLAttributeSerializationNode getAttribute(SelectorStep step, Collection<XMLAttributeSerializationNode> attributeList, boolean create)
Copyright © 2020. All rights reserved.