Class AbstractDocument.DocumentError.ErrorLocation
java.lang.Object
org.apache.batik.dom.AbstractDocument.DocumentError.ErrorLocation
- All Implemented Interfaces:
DOMLocator
- Enclosing class:
AbstractDocument.DocumentError
protected static class AbstractDocument.DocumentError.ErrorLocation
extends Object
implements DOMLocator
The DOMLocator implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the byte offset of the error node.intGet the column number of the error node.intGet the line number of the error node.Get the node.getUri()Get the document URI.intGet the UTF-16 offset of the error node.
-
Field Details
-
node
The node that caused the error.
-
-
Constructor Details
-
ErrorLocation
Create a new ErrorLocation object.
-
-
Method Details
-
getLineNumber
public int getLineNumber()Get the line number of the error node.- Specified by:
getLineNumberin interfaceDOMLocator
-
getColumnNumber
public int getColumnNumber()Get the column number of the error node.- Specified by:
getColumnNumberin interfaceDOMLocator
-
getByteOffset
public int getByteOffset()Get the byte offset of the error node.- Specified by:
getByteOffsetin interfaceDOMLocator
-
getUtf16Offset
public int getUtf16Offset()Get the UTF-16 offset of the error node.- Specified by:
getUtf16Offsetin interfaceDOMLocator
-
getRelatedNode
-
getUri
-