DOMLocatorImplpublic class DOMLocatorImpl extends Object implements DOMLocator
Fields Summary |
---|
public int | fColumnNumberThe column number where the error occured,
or -1 if there is no column number available. | public int | fLineNumberThe line number where the error occured,
or -1 if there is no line number available. | public Node | fRelatedNoderelated data node | public String | fUriThe URI where the error occured,
or null if there is no URI available. | public int | fByteOffsetThe byte offset into the input source this locator is pointing to or -1
if there is no byte offset available | public int | fUtf16OffsetThe 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. |
Constructors Summary |
---|
public DOMLocatorImpl()
//
// Constructors
//
| public DOMLocatorImpl(int lineNumber, int columnNumber, String uri)
fLineNumber = lineNumber ;
fColumnNumber = columnNumber ;
fUri = uri;
| public DOMLocatorImpl(int lineNumber, int columnNumber, int utf16Offset, String uri)
fLineNumber = lineNumber ;
fColumnNumber = columnNumber ;
fUri = uri;
fUtf16Offset = utf16Offset;
| public DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri)
fLineNumber = lineNumber ;
fColumnNumber = columnNumber ;
fByteOffset = byteoffset ;
fRelatedNode = relatedData ;
fUri = uri;
| public DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, int utf16Offset)
fLineNumber = lineNumber ;
fColumnNumber = columnNumber ;
fByteOffset = byteoffset ;
fRelatedNode = relatedData ;
fUri = uri;
fUtf16Offset = utf16Offset;
|
Methods Summary |
---|
public int | getByteOffset()The byte offset into the input source this locator is pointing to or -1
if there is no byte offset available
return fByteOffset;
| public int | getColumnNumber()The column number where the error occured, or -1 if there is no column
number available.
return fColumnNumber;
| public int | getLineNumber()The line number where the error occured, or -1 if there is no line
number available.
return fLineNumber;
| public org.w3c.dom.Node | getRelatedNode()
return fRelatedNode;
| public java.lang.String | getUri()The URI where the error occured, or null if there is no URI available.
return fUri;
| public int | getUtf16Offset()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.
return fUtf16Offset;
|
|