Class XMLEntityManager.ScannedEntity

    • Field Detail

      • reader

        public Reader reader
        Reader.
      • lineNumber

        public int lineNumber
        Line number.
      • columnNumber

        public int columnNumber
        Column number.
      • encoding

        public String encoding
        Auto-detected encoding.
      • xmlVersion

        public String xmlVersion
        XML version.
      • literal

        public boolean literal
        True if in a literal.
      • isExternal

        public boolean isExternal
      • ch

        public char[] ch
        Character buffer.
      • position

        public int position
        Position in character buffer.
      • baseCharOffset

        public int baseCharOffset
        Base character offset for computing absolute character offset.
      • startPosition

        public int startPosition
        Start position in character buffer.
      • count

        public int count
        Count of characters in buffer.
      • mayReadChunks

        public boolean mayReadChunks
    • Constructor Detail

      • ScannedEntity

        public ScannedEntity​(String name,
                             XMLResourceIdentifier entityLocation,
                             InputStream stream,
                             Reader reader,
                             byte[] byteBuffer,
                             String encoding,
                             boolean literal,
                             boolean mayReadChunks,
                             boolean isExternal)
        Constructs a scanned entity.
    • Method Detail

      • getExpandedSystemId

        public String getExpandedSystemId()
      • getLiteralSystemId

        public String getLiteralSystemId()
      • getLineNumber

        public int getLineNumber()
      • getColumnNumber

        public int getColumnNumber()
      • getCharacterOffset

        public int getCharacterOffset()
      • getEncoding

        public String getEncoding()
      • getXMLVersion

        public String getXMLVersion()
      • isEncodingExternallySpecified

        public boolean isEncodingExternallySpecified()
        Returns whether the encoding of this entity was externally specified.
      • setEncodingExternallySpecified

        public void setEncodingExternallySpecified​(boolean value)
        Sets whether the encoding of this entity was externally specified.
      • toString

        public String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class Object