|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.apache.xerces.dom.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 |
fColumnNumber
The column number where the error occured, or -1 if there is no column number available. |
org.w3c.dom.Node |
fErrorNode
The DOM Node where the error occured, or null if there is no Node available. |
int |
fLineNumber
The line number where the error occured, or -1 if there is no line number available. |
int |
fOffset
The byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset |
java.lang.String |
fUri
The URI where the error occured, or null if there is no URI available. |
| Constructor Summary | |
DOMLocatorImpl()
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
int offset,
org.w3c.dom.Node errorNode,
java.lang.String uri)
|
|
DOMLocatorImpl(int lineNumber,
int columnNumber,
java.lang.String uri)
|
|
| Method Summary | |
int |
getColumnNumber()
The column number where the error occured, or -1 if there is no column number available. |
org.w3c.dom.Node |
getErrorNode()
The DOM Node where the error occured, or null if there is no Node available. |
int |
getLineNumber()
The line number where the error occured, or -1 if there is no line number available. |
int |
getOffset()
The byte or character offset into the input source, if we're parsing a file or a byte stream then this will be the byte offset into that stream, but if a character media is parsed then the offset will be the character offset. |
java.lang.String |
getUri()
The URI where the error occured, or null if there is no URI available. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int fColumnNumber
public org.w3c.dom.Node fErrorNode
public int fLineNumber
public int fOffset
public java.lang.String fUri
| Constructor Detail |
public DOMLocatorImpl()
public DOMLocatorImpl(int lineNumber,
int columnNumber,
java.lang.String uri)
public DOMLocatorImpl(int lineNumber,
int columnNumber,
int offset,
org.w3c.dom.Node errorNode,
java.lang.String uri)
| Method Detail |
public int getLineNumber()
getLineNumber in interface org.apache.xerces.dom3.DOMLocatorpublic int getColumnNumber()
getColumnNumber in interface org.apache.xerces.dom3.DOMLocatorpublic int getOffset()
getOffset in interface org.apache.xerces.dom3.DOMLocatorpublic org.w3c.dom.Node getErrorNode()
getErrorNode in interface org.apache.xerces.dom3.DOMLocatorpublic java.lang.String getUri()
getUri in interface org.apache.xerces.dom3.DOMLocator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||