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 |
|---|
AbstractDocument.DocumentError.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 AbstractDocument.DocumentError.ErrorLocation(org.w3c.dom.Node n)
public int getLineNumber()
getLineNumber in interface org.w3c.dom.DOMLocatorpublic int getColumnNumber()
getColumnNumber in interface org.w3c.dom.DOMLocatorpublic int getByteOffset()
getByteOffset in interface org.w3c.dom.DOMLocatorpublic int getUtf16Offset()
getUtf16Offset in interface org.w3c.dom.DOMLocatorpublic org.w3c.dom.Node getRelatedNode()
getRelatedNode in interface org.w3c.dom.DOMLocatorpublic java.lang.String getUri()
getUri in interface org.w3c.dom.DOMLocatorCopyright ? 2009 Apache Software Foundation. All Rights Reserved.