DOMLocatorImpl is an implementaion that describes a location (e.g.
where an error occured).
See also the Document Object Model (DOM) Level 3 Core Specification. This class is a copy of the Xerces-2J class org.apache.xerces.dom.DOMLocatorImpl.java v 1.10
| Modifier and Type | Field and Description |
|---|---|
| private final int | fByteOffset
The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available |
| private final int | fColumnNumber
The column number where the error occured, or -1 if there is no column number available. |
| private final int | fLineNumber
The line number where the error occured, or -1 if there is no line number available. |
| private final Node | fRelatedNode
related data node |
| private final String | fUri
The URI where the error occured, or null if there is no URI available. |
| private final int | fUtf16Offset
The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, int utf16Offset)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getByteOffset()
Implements org. The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available |
| public int | getColumnNumber()
Implements org. The column number where the error occured, or -1 if there is no column number available. |
| public int | getLineNumber()
Implements org. The line number where the error occured, or -1 if there is no line number available. |
| public Node | getRelatedNode()
Implements org. The node this locator is pointing to, or |
| public String | getUri()
Implements org. The URI where the error occured, or null if there is no URI available. |
| public int | getUtf16Offset()
Implements org. The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available. |
| fByteOffset | back to summary |
|---|---|
| private final int fByteOffset The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available | |
| fColumnNumber | back to summary |
|---|---|
| private final int fColumnNumber The column number where the error occured, or -1 if there is no column number available. | |
| fLineNumber | back to summary |
|---|---|
| private final int fLineNumber The line number where the error occured, or -1 if there is no line number available. | |
| fRelatedNode | back to summary |
|---|---|
| private final Node fRelatedNode related data node | |
| fUri | back to summary |
|---|---|
| private final String fUri The URI where the error occured, or null if there is no URI available. | |
| fUtf16Offset | back to summary |
|---|---|
| private final int fUtf16Offset The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available. | |
| DOMLocatorImpl | back to summary |
|---|---|
| pack-priv DOMLocatorImpl() | |
| DOMLocatorImpl | back to summary |
|---|---|
| pack-priv DOMLocatorImpl(int lineNumber, int columnNumber, String uri) | |
| DOMLocatorImpl | back to summary |
|---|---|
| pack-priv DOMLocatorImpl(int lineNumber, int columnNumber, int utf16Offset, String uri) | |
| DOMLocatorImpl | back to summary |
|---|---|
| pack-priv DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri) | |
| DOMLocatorImpl | back to summary |
|---|---|
| pack-priv DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, int utf16Offset) | |
| getByteOffset | back to summary |
|---|---|
| public int getByteOffset() Implements org. The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available | |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() Implements org. The column number where the error occured, or -1 if there is no column number available. | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Implements org. The line number where the error occured, or -1 if there is no line number available. | |
| getRelatedNode | back to summary |
|---|---|
| public Node getRelatedNode() Implements org. Doc from org. The node this locator is pointing to, or | |
| getUri | back to summary |
|---|---|
| public String getUri() Implements org. The URI where the error occured, or null if there is no URI available. | |
| getUtf16Offset | back to summary |
|---|---|
| public int getUtf16Offset() Implements org. The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available. | |