|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.dom.DOMLocatorImpl
public class DOMLocatorImpl
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.
Field Summary | |
---|---|
int |
fByteOffset
The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available |
int |
fColumnNumber
The column number where the error occured, or -1 if there is no column number available. |
int |
fLineNumber
The line number where the error occured, or -1 if there is no line number available. |
Node |
fRelatedNode
related data node |
java.lang.String |
fUri
The URI where the error occured, or null if there is no URI available. |
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. |
Constructor Summary | |
---|---|
DOMLocatorImpl()
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
int byteoffset,
Node relatedData,
java.lang.String uri)
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
int byteoffset,
Node relatedData,
java.lang.String uri,
int utf16Offset)
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
int utf16Offset,
java.lang.String uri)
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
java.lang.String uri)
|
Method Summary | |
---|---|
int |
getByteOffset()
The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available |
int |
getColumnNumber()
The column number where the error occured, or -1 if there is no column number available. |
int |
getLineNumber()
The line number where the error occured, or -1 if there is no line number available. |
Node |
getRelatedNode()
The node this locator is pointing to, or null if no node
is available. |
java.lang.String |
getUri()
The URI where the error occured, or null if there is no URI available. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int fColumnNumber
public int fLineNumber
public Node fRelatedNode
public java.lang.String fUri
public int fByteOffset
public int fUtf16Offset
Constructor Detail |
---|
public DOMLocatorImpl()
public DOMLocatorImpl(int lineNumber, int columnNumber, java.lang.String uri)
public DOMLocatorImpl(int lineNumber, int columnNumber, int utf16Offset, java.lang.String uri)
public DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, java.lang.String uri)
public DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, java.lang.String uri, int utf16Offset)
Method Detail |
---|
public int getLineNumber()
getLineNumber
in interface DOMLocator
public int getColumnNumber()
getColumnNumber
in interface DOMLocator
public java.lang.String getUri()
getUri
in interface DOMLocator
public Node getRelatedNode()
DOMLocator
null
if no node
is available.
getRelatedNode
in interface DOMLocator
public int getByteOffset()
getByteOffset
in interface DOMLocator
public int getUtf16Offset()
getUtf16Offset
in interface DOMLocator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |