Package org.apache.batik.dom
Class AbstractDocument.DocumentError.ErrorLocation
- java.lang.Object
-
- org.apache.batik.dom.AbstractDocument.DocumentError.ErrorLocation
-
- All Implemented Interfaces:
org.w3c.dom.DOMLocator
- Enclosing class:
- AbstractDocument.DocumentError
protected static class AbstractDocument.DocumentError.ErrorLocation extends java.lang.Object implements org.w3c.dom.DOMLocatorThe DOMLocator implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.NodenodeThe node that caused the error.
-
Constructor Summary
Constructors Constructor Description ErrorLocation(org.w3c.dom.Node n)Create a new ErrorLocation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetByteOffset()Get the byte offset of the error node.intgetColumnNumber()Get the column number of the error node.intgetLineNumber()Get the line number of the error node.org.w3c.dom.NodegetRelatedNode()Get the node.java.lang.StringgetUri()Get the document URI.intgetUtf16Offset()Get the UTF-16 offset of the error node.
-
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Get the line number of the error node.- Specified by:
getLineNumberin interfaceorg.w3c.dom.DOMLocator
-
getColumnNumber
public int getColumnNumber()
Get the column number of the error node.- Specified by:
getColumnNumberin interfaceorg.w3c.dom.DOMLocator
-
getByteOffset
public int getByteOffset()
Get the byte offset of the error node.- Specified by:
getByteOffsetin interfaceorg.w3c.dom.DOMLocator
-
getUtf16Offset
public int getUtf16Offset()
Get the UTF-16 offset of the error node.- Specified by:
getUtf16Offsetin interfaceorg.w3c.dom.DOMLocator
-
getRelatedNode
public org.w3c.dom.Node getRelatedNode()
Get the node.- Specified by:
getRelatedNodein interfaceorg.w3c.dom.DOMLocator
-
getUri
public java.lang.String getUri()
Get the document URI.- Specified by:
getUriin interfaceorg.w3c.dom.DOMLocator
-
-