类 XMLEventStreamReader
java.lang.Object
cn.taketoday.util.xml.AbstractXMLStreamReader
cn.taketoday.util.xml.XMLEventStreamReader
- 所有已实现的接口:
XMLStreamConstants,XMLStreamReader
Implementation of the
XMLStreamReader interface that wraps a
XMLEventReader. Useful because the StAX XMLInputFactory
allows one to create a event reader from a stream reader, but not vice-versa.- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
字段概要
字段从接口继承的字段 javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclose()private static intcountIterator(Iterator iterator) private AttributegetAttribute(int index) intgetAttributeName(int index) getAttributeType(int index) getAttributeValue(int index) intgetName()private NamespacegetNamespace(int index) intgetNamespacePrefix(int index) getNamespaceURI(int index) getProperty(String name) getText()intbooleanisAttributeSpecified(int index) booleanintnext()boolean从类继承的方法 cn.taketoday.util.xml.AbstractXMLStreamReader
getAttributeLocalName, getAttributeNamespace, getAttributePrefix, getAttributeValue, getElementText, getLocalName, getNamespaceURI, getNamespaceURI, getPrefix, getTextCharacters, getTextCharacters, getTextLength, hasName, hasNext, hasText, isCharacters, isEndElement, isStartElement, isWhiteSpace, nextTag, require
-
字段详细资料
-
event
-
eventReader
-
-
构造器详细资料
-
XMLEventStreamReader
-
-
方法详细资料
-
getName
-
getLocation
-
getEventType
public int getEventType() -
getVersion
-
getProperty
-
isStandalone
public boolean isStandalone() -
standaloneSet
public boolean standaloneSet() -
getEncoding
-
getCharacterEncodingScheme
-
getPITarget
-
getPIData
-
getTextStart
public int getTextStart() -
getText
-
getAttributeCount
public int getAttributeCount() -
isAttributeSpecified
public boolean isAttributeSpecified(int index) -
getAttributeName
-
getAttributeType
-
getAttributeValue
-
getAttribute
-
getNamespaceContext
-
getNamespaceCount
public int getNamespaceCount() -
getNamespacePrefix
-
getNamespaceURI
-
getNamespace
-
next
-
close
-
countIterator
-