org.apache.xerces.impl
public class XMLEntityManager.ScannedEntity extends XMLEntityManager.Entity
| Field Summary | |
|---|---|
| int | baseCharOffset Base character offset for computing absolute character offset. |
| char[] | ch Character buffer. |
| int | columnNumber Column number. |
| int | count Count of characters in buffer. |
| String | encoding Auto-detected encoding. |
| XMLResourceIdentifier | entityLocation entity location information |
| boolean | isExternal |
| int | lineNumber Line number. |
| boolean | literal True if in a literal. |
| boolean | mayReadChunks |
| int | position Position in character buffer. |
| Reader | reader Reader. |
| int | startPosition Start position in character buffer. |
| InputStream | stream Input stream. |
| String | xmlVersion XML version. |
| Constructor Summary | |
|---|---|
| ScannedEntity(String name, XMLResourceIdentifier entityLocation, InputStream stream, Reader reader, String encoding, boolean literal, boolean mayReadChunks, boolean isExternal) Constructs a scanned entity. | |
| Method Summary | |
|---|---|
| int | getCharacterOffset() |
| int | getColumnNumber() |
| String | getEncoding() |
| String | getExpandedSystemId() |
| int | getLineNumber() |
| String | getLiteralSystemId() |
| String | getXMLVersion() |
| boolean | isEncodingExternallySpecified() Returns whether the encoding of this entity was externally specified. |
| boolean | isExternal() Returns true if this is an external entity. |
| boolean | isUnparsed() Returns true if this is an unparsed entity. |
| void | setEncodingExternallySpecified(boolean value) Sets whether the encoding of this entity was externally specified. |
| void | setReader(InputStream stream, String encoding, Boolean isBigEndian) |
| String | toString() Returns a string representation of this object. |