public class GenericComplexElement extends AbstractXmlElement
Constructor and Description |
---|
GenericComplexElement() |
GenericComplexElement(AbstractXmlElement p) |
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String name) |
String |
getAttributeOrDefault(String name,
String def) |
AbstractXmlElement |
getChildParser() |
protected String |
getElementName() |
protected void |
parseAttributes(XMLStreamReader token) |
protected void |
parseChildren(XMLStreamReader token,
String child) |
void |
setChildParser(AbstractXmlElement childParser) |
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseCharacters, toXml, write, writeIfNotNull
public GenericComplexElement()
public GenericComplexElement(AbstractXmlElement p)
protected void parseChildren(XMLStreamReader token, String child) throws Exception
parseChildren
in class AbstractXmlElement
Exception
protected void parseAttributes(XMLStreamReader token) throws XMLStreamException
parseAttributes
in class AbstractXmlElement
XMLStreamException
public AbstractXmlElement getChildParser()
public void setChildParser(AbstractXmlElement childParser)
protected String getElementName()
getElementName
in class AbstractXmlElement
Copyright © 2012. All Rights Reserved.