public class Header extends AbstractXmlElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME |
Constructor and Description |
---|
Header() |
Header(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
protected String |
getElementName() |
String |
getName() |
String |
getValue() |
protected void |
parseAttributes(XMLStreamReader token) |
protected void |
parseCharacters(XMLStreamReader token) |
void |
setName(String name) |
void |
setValue(String value) |
void |
write(XMLStreamWriter out) |
doAfterParsing, getBoolean, move2RootElementIfNeeded, parse, parseChildren, toXml, writeIfNotNull
public static final String ELEMENT_NAME
protected void parseAttributes(XMLStreamReader token) throws XMLStreamException
parseAttributes
in class AbstractXmlElement
XMLStreamException
protected void parseCharacters(XMLStreamReader token) throws XMLStreamException
parseCharacters
in class AbstractXmlElement
XMLStreamException
public void write(XMLStreamWriter out) throws XMLStreamException
write
in interface XMLElement
write
in class AbstractXmlElement
XMLStreamException
public String getValue()
public void setValue(String value)
public String getName()
public void setName(String name)
protected String getElementName()
getElementName
in class AbstractXmlElement
Copyright © 2012. All Rights Reserved.