Class StAXInputSource


  • public final class StAXInputSource
    extends org.apache.xerces.xni.parser.XMLInputSource

    An XMLInputSource analogue to javax.xml.transform.stax.StAXSource.

    Version:
    $Id: StAXInputSource.java 1358676 2012-07-07 23:41:49Z mrglavas $
    • Field Summary

      • Fields inherited from class org.apache.xerces.xni.parser.XMLInputSource

        fBaseSystemId, fByteStream, fCharStream, fEncoding, fPublicId, fSystemId
    • Constructor Summary

      Constructors 
      Constructor Description
      StAXInputSource​(javax.xml.stream.XMLEventReader source)  
      StAXInputSource​(javax.xml.stream.XMLEventReader source, boolean consumeRemainingContent)  
      StAXInputSource​(javax.xml.stream.XMLStreamReader source)  
      StAXInputSource​(javax.xml.stream.XMLStreamReader source, boolean consumeRemainingContent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.stream.XMLEventReader getXMLEventReader()  
      javax.xml.stream.XMLStreamReader getXMLStreamReader()  
      void setSystemId​(java.lang.String systemId)
      Sets the system identifier.
      boolean shouldConsumeRemainingContent()  
      • Methods inherited from class org.apache.xerces.xni.parser.XMLInputSource

        getBaseSystemId, getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setBaseSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StAXInputSource

        public StAXInputSource​(javax.xml.stream.XMLStreamReader source)
      • StAXInputSource

        public StAXInputSource​(javax.xml.stream.XMLStreamReader source,
                               boolean consumeRemainingContent)
      • StAXInputSource

        public StAXInputSource​(javax.xml.stream.XMLEventReader source)
      • StAXInputSource

        public StAXInputSource​(javax.xml.stream.XMLEventReader source,
                               boolean consumeRemainingContent)
    • Method Detail

      • getXMLStreamReader

        public javax.xml.stream.XMLStreamReader getXMLStreamReader()
      • getXMLEventReader

        public javax.xml.stream.XMLEventReader getXMLEventReader()
      • shouldConsumeRemainingContent

        public boolean shouldConsumeRemainingContent()
      • setSystemId

        public void setSystemId​(java.lang.String systemId)
        Description copied from class: org.apache.xerces.xni.parser.XMLInputSource
        Sets the system identifier.
        Overrides:
        setSystemId in class org.apache.xerces.xni.parser.XMLInputSource
        Parameters:
        systemId - The new system identifier.