public class ElementReader extends AbstractMessageReader
Constructor and Description |
---|
ElementReader(DepthXMLStreamReader root) |
ElementReader(InputStream is) |
ElementReader(XMLStreamReader reader) |
Modifier and Type | Method and Description |
---|---|
MessageReader |
getAttributeReader(QName qName) |
String |
getLocalName()
Get the local name of the element this reader represents.
|
QName |
getName() |
String |
getNamespace() |
String |
getNamespaceForPrefix(String prefix) |
MessageReader |
getNextAttributeReader() |
MessageReader |
getNextElementReader() |
String |
getValue() |
String |
getValue(String ns,
String attr) |
XMLStreamReader |
getXMLStreamReader() |
QName |
getXsiType() |
boolean |
hasMoreAttributeReaders() |
boolean |
hasMoreElementReaders() |
getValueAsBoolean, getValueAsCharacter, getValueAsDouble, getValueAsFloat, getValueAsInt, getValueAsLong, hasValue, isXsiNil, readToEnd
public ElementReader(DepthXMLStreamReader root)
root
- public ElementReader(XMLStreamReader reader)
public ElementReader(InputStream is) throws XMLStreamException
is
- XMLStreamException
public String getValue()
public boolean hasMoreElementReaders()
public MessageReader getNextElementReader()
public QName getName()
public String getLocalName()
MessageReader
public String getNamespace()
public QName getXsiType()
public XMLStreamReader getXMLStreamReader()
getXMLStreamReader
in interface MessageReader
getXMLStreamReader
in class AbstractMessageReader
public boolean hasMoreAttributeReaders()
public MessageReader getAttributeReader(QName qName)
public MessageReader getNextAttributeReader()
Apache CXF