org.apache.batik.dom

Class AbstractDocument.DocumentError.ErrorLocation

protected class AbstractDocument.DocumentError.ErrorLocation extends Object implements DOMLocator

The DOMLocator implementation.
Field Summary
protected Nodenode
The node that caused the error.
Constructor Summary
ErrorLocation(Node n)
Create a new ErrorLocation object.
Method Summary
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.
NodegetRelatedNode()
Get the node.
StringgetUri()
Get the document URI.
intgetUtf16Offset()
Get the UTF-16 offset of the error node.

Field Detail

node

protected Node node
The node that caused the error.

Constructor Detail

ErrorLocation

public ErrorLocation(Node n)
Create a new ErrorLocation object.

Method Detail

getByteOffset

public int getByteOffset()
Get the byte offset of the error node.

getColumnNumber

public int getColumnNumber()
Get the column number of the error node.

getLineNumber

public int getLineNumber()
Get the line number of the error node.

getRelatedNode

public Node getRelatedNode()
Get the node.

getUri

public String getUri()
Get the document URI.

getUtf16Offset

public int getUtf16Offset()
Get the UTF-16 offset of the error node.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.