public class JDOMStreamReader extends AbstractDOMStreamReader<org.jdom.Element,Integer>
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 |
---|
JDOMStreamReader(org.jdom.Document document) |
JDOMStreamReader(org.jdom.Element element) |
close, consumeFrame, getCharacterEncodingScheme, getCurrentFrame, getEventType, getLocation, getProperty, getPublicId, getSystemId, getTextCharacters, getVersion, hasName, hasNext, hasText, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, newFrame, next, nextTag, require, standaloneSet
public JDOMStreamReader(org.jdom.Element element)
element
- public JDOMStreamReader(org.jdom.Document document)
document
- public static String toStaxType(int jdom)
protected void endElement()
endElement
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
public org.jdom.Element getCurrentElement()
protected AbstractDOMStreamReader.ElementFrame<org.jdom.Element,Integer> getChildFrame()
getChildFrame
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
protected boolean hasMoreChildren()
hasMoreChildren
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
protected int nextChild()
nextChild
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
public String getElementText() throws XMLStreamException
getElementText
in interface XMLStreamReader
getElementText
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
XMLStreamException
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class AbstractDOMStreamReader<org.jdom.Element,Integer>
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()
Apache CXF