protected static class AbstractDocument.DocumentError.ErrorLocation extends java.lang.Object implements DOMLocator
| Modifier and Type | Field and Description |
|---|---|
protected Node |
node
The node that caused the error.
|
| Constructor and Description |
|---|
ErrorLocation(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.
|
Node |
getRelatedNode()
Get the node.
|
java.lang.String |
getUri()
Get the document URI.
|
int |
getUtf16Offset()
Get the UTF-16 offset of the error node.
|
protected Node node
public ErrorLocation(Node n)
public int getLineNumber()
getLineNumber in interface DOMLocatorpublic int getColumnNumber()
getColumnNumber in interface DOMLocatorpublic int getByteOffset()
getByteOffset in interface DOMLocatorpublic int getUtf16Offset()
getUtf16Offset in interface DOMLocatorpublic Node getRelatedNode()
getRelatedNode in interface DOMLocatorpublic java.lang.String getUri()
getUri in interface DOMLocatorCopyright © 2022 Apache Software Foundation. All Rights Reserved.