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 DOMLocator
public int getColumnNumber()
getColumnNumber
in interface DOMLocator
public int getByteOffset()
getByteOffset
in interface DOMLocator
public int getUtf16Offset()
getUtf16Offset
in interface DOMLocator
public Node getRelatedNode()
getRelatedNode
in interface DOMLocator
public java.lang.String getUri()
getUri
in interface DOMLocator
Copyright © 2022 Apache Software Foundation. All Rights Reserved.