A light wrapper around an XMLLocator.
| Modifier and Type | Field and Description |
|---|---|
| private XMLLocator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getBaseSystemId()
Implements org. |
| public int | getCharacterOffset()
Implements org. -1 if no character offset is available.
|
| public int | getColumnNumber()
Implements org. -1 if no column number is available.
|
| public String | getEncoding()
Implements org. |
| public String | getExpandedSystemId()
Implements org. |
| public int | getLineNumber()
Implements org. -1 if no line number is available.
|
| public String | getLiteralSystemId()
Implements org. |
| public XMLLocator | |
| public String | getPublicId()
Implements org. |
| public String | getXMLVersion()
Implements org. |
| public void |
| fLocator | back to summary |
|---|---|
| private XMLLocator fLocator | |
| XMLLocatorWrapper | back to summary |
|---|---|
| public XMLLocatorWrapper() | |
| getBaseSystemId | back to summary |
|---|---|
| public String getBaseSystemId() Implements org. Doc from org. Returns the base system identifier. | |
| getCharacterOffset | back to summary |
|---|---|
| public int getCharacterOffset() Implements org. Doc from org. Returns the character offset, or | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Implements org. Doc from org. Returns the column number, or | |
| getEncoding | back to summary |
|---|---|
| public String getEncoding() Implements org. Doc from org. Returns the encoding of the current entity. Note that, for a given entity, this value can only be considered final once the encoding declaration has been read (or once it has been determined that there is no such declaration) since, no encoding having been specified on the XMLInputSource, the parser will make an initial "guess" which could be in error. | |
| getExpandedSystemId | back to summary |
|---|---|
| public String getExpandedSystemId() Implements org. Doc from org. Returns the expanded system identifier. | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Implements org. Doc from org. Returns the line number, or | |
| getLiteralSystemId | back to summary |
|---|---|
| public String getLiteralSystemId() Implements org. Doc from org. Returns the literal system identifier. | |
| getLocator | back to summary |
|---|---|
| public XMLLocator getLocator() | |
| getPublicId | back to summary |
|---|---|
| public String getPublicId() Implements org. Doc from org. Returns the public identifier. | |
| getXMLVersion | back to summary |
|---|---|
| public String getXMLVersion() Implements org. Doc from org. Returns the XML version of the current entity. This will normally be the value from the XML or text declaration or defaulted by the parser. Note that that this value may be different than the version of the processing rules applied to the current entity. For instance, an XML 1.1 document may refer to XML 1.0 entities. In such a case the rules of XML 1.1 are applied to the entire document. Also note that, for a given entity, this value can only be considered final once the XML or text declaration has been read or once it has been determined that there is no such declaration. | |
| setLocator | back to summary |
|---|---|
| public void setLocator(XMLLocator locator) | |