org.apache.cxf.aegis.xml.stax
Class ElementReader
java.lang.Object
org.apache.cxf.aegis.xml.AbstractMessageReader
org.apache.cxf.aegis.xml.stax.ElementReader
- All Implemented Interfaces:
- MessageReader
public class ElementReader
- extends AbstractMessageReader
Reads literal encoded messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementReader
public ElementReader(DepthXMLStreamReader root)
- Parameters:
root
-
ElementReader
public ElementReader(XMLStreamReader reader)
ElementReader
public ElementReader(InputStream is)
throws XMLStreamException
- Parameters:
is
-
- Throws:
XMLStreamException
getValue
public String getValue()
getValue
public String getValue(String ns,
String attr)
hasMoreElementReaders
public boolean hasMoreElementReaders()
getNextElementReader
public MessageReader getNextElementReader()
getName
public QName getName()
getLocalName
public String getLocalName()
- Description copied from interface:
MessageReader
- Get the local name of the element this reader represents.
- Returns:
- Local Name
getNamespace
public String getNamespace()
- Returns:
- Namespace
getXsiType
public QName getXsiType()
getXMLStreamReader
public XMLStreamReader getXMLStreamReader()
- Specified by:
getXMLStreamReader
in interface MessageReader
- Overrides:
getXMLStreamReader
in class AbstractMessageReader
hasMoreAttributeReaders
public boolean hasMoreAttributeReaders()
getAttributeReader
public MessageReader getAttributeReader(QName qName)
getNextAttributeReader
public MessageReader getNextAttributeReader()
getNamespaceForPrefix
public String getNamespaceForPrefix(String prefix)
Apache CXF