public class W3CDOMStreamReader extends AbstractDOMStreamReader<Node,Node>
AbstractDOMStreamReader.ElementFrame<T,I>
currentEvent
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
W3CDOMStreamReader(Document doc) |
W3CDOMStreamReader(DocumentFragment docfrag) |
W3CDOMStreamReader(Element element) |
W3CDOMStreamReader(Element element,
String systemId) |
close, consumeFrame, endElement, getCharacterEncodingScheme, getCurrentFrame, getEventType, getProperty, getPublicId, getTextCharacters, getVersion, hasName, hasNext, hasText, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
public W3CDOMStreamReader(Element element)
element
- public W3CDOMStreamReader(Document doc)
public W3CDOMStreamReader(DocumentFragment docfrag)
public Document getDocument()
public String getSystemId()
getSystemId
in class AbstractDOMStreamReader<Node,Node>
protected final void newFrame(AbstractDOMStreamReader.ElementFrame<Node,Node> frame)
newFrame
in class AbstractDOMStreamReader<Node,Node>
public final Node getCurrentNode()
public final Element getCurrentElement()
protected AbstractDOMStreamReader.ElementFrame<Node,Node> getChildFrame()
getChildFrame
in class AbstractDOMStreamReader<Node,Node>
protected boolean hasMoreChildren()
hasMoreChildren
in class AbstractDOMStreamReader<Node,Node>
protected int nextChild()
nextChild
in class AbstractDOMStreamReader<Node,Node>
public String getElementText() throws XMLStreamException
getElementText
in interface XMLStreamReader
getElementText
in class AbstractDOMStreamReader<Node,Node>
XMLStreamException
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class AbstractDOMStreamReader<Node,Node>
public int getAttributeCount()
public QName getAttributeName(int i)
public String getAttributeNamespace(int i)
public String getAttributeLocalName(int i)
public String getAttributePrefix(int i)
public String getAttributeType(int i)
public String getAttributeValue(int i)
public boolean isAttributeSpecified(int i)
public int getNamespaceCount()
public String getNamespacePrefix(int i)
public String getNamespaceURI(int i)
public NamespaceContext getNamespaceContext()
public String getText()
public char[] getTextCharacters()
public int getTextStart()
public int getTextLength()
public String getEncoding()
public QName getName()
public String getLocalName()
public String getNamespaceURI()
public String getPrefix()
public String getPITarget()
public String getPIData()
public Location getLocation()
getLocation
in interface XMLStreamReader
getLocation
in class AbstractDOMStreamReader<Node,Node>
Apache CXF