类 XMLEventStreamReader

java.lang.Object
cn.taketoday.util.xml.AbstractXMLStreamReader
cn.taketoday.util.xml.XMLEventStreamReader
所有已实现的接口:
XMLStreamConstants, XMLStreamReader

class XMLEventStreamReader extends AbstractXMLStreamReader
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
另请参阅:
  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • getName

      public QName getName()
    • getLocation

      public Location getLocation()
    • getEventType

      public int getEventType()
    • getVersion

      @Nullable public String getVersion()
    • getProperty

      public Object getProperty(String name) throws IllegalArgumentException
      抛出:
      IllegalArgumentException
    • isStandalone

      public boolean isStandalone()
    • standaloneSet

      public boolean standaloneSet()
    • getEncoding

      @Nullable public String getEncoding()
    • getCharacterEncodingScheme

      @Nullable public String getCharacterEncodingScheme()
    • getPITarget

      public String getPITarget()
    • getPIData

      public String getPIData()
    • getTextStart

      public int getTextStart()
    • getText

      public String getText()
    • getAttributeCount

      public int getAttributeCount()
    • isAttributeSpecified

      public boolean isAttributeSpecified(int index)
    • getAttributeName

      public QName getAttributeName(int index)
    • getAttributeType

      public String getAttributeType(int index)
    • getAttributeValue

      public String getAttributeValue(int index)
    • getAttribute

      private Attribute getAttribute(int index)
    • getNamespaceContext

      public NamespaceContext getNamespaceContext()
    • getNamespaceCount

      public int getNamespaceCount()
    • getNamespacePrefix

      public String getNamespacePrefix(int index)
    • getNamespaceURI

      public String getNamespaceURI(int index)
    • getNamespace

      private Namespace getNamespace(int index)
    • next

      public int next() throws XMLStreamException
      抛出:
      XMLStreamException
    • close

      public void close() throws XMLStreamException
      抛出:
      XMLStreamException
    • countIterator

      private static int countIterator(Iterator iterator)