Class DOMLocatorImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.xml.xerces.dom.DOMLocatorImpl
-
- All Implemented Interfaces:
DOMLocator
@Deprecated(since="2021-03-05") public class DOMLocatorImpl extends Object implements DOMLocator
Deprecated.DOMLocatorImplis an implementaion that describes a location (e.g. where an error occured).See also the Document Object Model (DOM) Level 3 Core Specification.
-
-
Field Summary
Fields Modifier and Type Field Description intfByteOffsetDeprecated.The byte offset into the input source this locator is pointing to or -1 if there is no byte offset availableintfColumnNumberDeprecated.The column number where the error occured, or -1 if there is no column number available.intfLineNumberDeprecated.The line number where the error occured, or -1 if there is no line number available.NodefRelatedNodeDeprecated.related data nodeStringfUriDeprecated.The URI where the error occured, or null if there is no URI available.intfUtf16OffsetDeprecated.The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available.
-
Constructor Summary
Constructors Constructor Description DOMLocatorImpl()Deprecated.DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri)Deprecated.DOMLocatorImpl(int lineNumber, int columnNumber, int byteoffset, Node relatedData, String uri, int utf16Offsert)Deprecated.DOMLocatorImpl(int lineNumber, int columnNumber, String uri)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetByteOffset()Deprecated.The byte offset into the input source this locator is pointing to or -1 if there is no byte offset availableintgetColumnNumber()Deprecated.The column number where the error occured, or -1 if there is no column number available.intgetLineNumber()Deprecated.The line number where the error occured, or -1 if there is no line number available.NodegetRelatedNode()Deprecated.StringgetUri()Deprecated.The URI where the error occured, or null if there is no URI available.intgetUtf16Offset()Deprecated.The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available.
-
-
-
Field Detail
-
fColumnNumber
public int fColumnNumber
Deprecated.The column number where the error occured, or -1 if there is no column number available.
-
fLineNumber
public int fLineNumber
Deprecated.The line number where the error occured, or -1 if there is no line number available.
-
fRelatedNode
public Node fRelatedNode
Deprecated.related data node
-
fUri
public String fUri
Deprecated.The URI where the error occured, or null if there is no URI available.
-
fByteOffset
public int fByteOffset
Deprecated.The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available
-
fUtf16Offset
public int fUtf16Offset
Deprecated.The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available.
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Deprecated.The line number where the error occured, or -1 if there is no line number available.- Specified by:
getLineNumberin interfaceDOMLocator
-
getColumnNumber
public int getColumnNumber()
Deprecated.The column number where the error occured, or -1 if there is no column number available.- Specified by:
getColumnNumberin interfaceDOMLocator
-
getUri
public String getUri()
Deprecated.The URI where the error occured, or null if there is no URI available.- Specified by:
getUriin interfaceDOMLocator
-
getRelatedNode
public Node getRelatedNode()
Deprecated.- Specified by:
getRelatedNodein interfaceDOMLocator
-
getByteOffset
public int getByteOffset()
Deprecated.The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available- Specified by:
getByteOffsetin interfaceDOMLocator
-
getUtf16Offset
public int getUtf16Offset()
Deprecated.The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available.- Specified by:
getUtf16Offsetin interfaceDOMLocator
-
-