protected class AbstractDocument.DocumentError.ErrorLocation
extends java.lang.Object
implements org.w3c.dom.DOMLocator
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Node |
node
The node that caused the error.
|
Constructor and Description |
---|
ErrorLocation(org.w3c.dom.Node n)
Create a new ErrorLocation object.
|
Modifier and Type | Method and Description |
---|---|
int |
getByteOffset()
Get the byte offset of the error node.
|
int |
getColumnNumber()
Get the column number of the error node.
|
int |
getLineNumber()
Get the line number of the error node.
|
org.w3c.dom.Node |
getRelatedNode()
Get the node.
|
java.lang.String |
getUri()
Get the document URI.
|
int |
getUtf16Offset()
Get the UTF-16 offset of the error node.
|
public ErrorLocation(org.w3c.dom.Node n)
public int getLineNumber()
getLineNumber
in interface org.w3c.dom.DOMLocator
public int getColumnNumber()
getColumnNumber
in interface org.w3c.dom.DOMLocator
public int getByteOffset()
getByteOffset
in interface org.w3c.dom.DOMLocator
public int getUtf16Offset()
getUtf16Offset
in interface org.w3c.dom.DOMLocator
public org.w3c.dom.Node getRelatedNode()
getRelatedNode
in interface org.w3c.dom.DOMLocator
public java.lang.String getUri()
getUri
in interface org.w3c.dom.DOMLocator
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.