Class DOMLocatorImpl

  • All Implemented Interfaces:
    org.w3c.dom.DOMLocator

    @Deprecated
    public class DOMLocatorImpl
    extends java.lang.Object
    implements org.w3c.dom.DOMLocator
    Deprecated.
    DOMLocatorImpl is 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
      int fByteOffset
      Deprecated.
      The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available
      int fColumnNumber
      Deprecated.
      The column number where the error occured, or -1 if there is no column number available.
      int fLineNumber
      Deprecated.
      The line number where the error occured, or -1 if there is no line number available.
      org.w3c.dom.Node fRelatedNode
      Deprecated.
      related data node
      java.lang.String fUri
      Deprecated.
      The URI where the error occured, or null if there is no URI available.
      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.
    • Constructor Summary

      Constructors 
      Constructor Description
      DOMLocatorImpl()
      Deprecated.
       
      DOMLocatorImpl​(int lineNumber, int columnNumber, int byteoffset, org.w3c.dom.Node relatedData, java.lang.String uri)
      Deprecated.
       
      DOMLocatorImpl​(int lineNumber, int columnNumber, int byteoffset, org.w3c.dom.Node relatedData, java.lang.String uri, int utf16Offsert)
      Deprecated.
       
      DOMLocatorImpl​(int lineNumber, int columnNumber, java.lang.String uri)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getByteOffset()
      Deprecated.
      The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available
      int getColumnNumber()
      Deprecated.
      The column number where the error occured, or -1 if there is no column number available.
      int getLineNumber()
      Deprecated.
      The line number where the error occured, or -1 if there is no line number available.
      org.w3c.dom.Node getRelatedNode()
      Deprecated.
       
      java.lang.String getUri()
      Deprecated.
      The URI where the error occured, or null if there is no URI available.
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 org.w3c.dom.Node fRelatedNode
        Deprecated.
        related data node
      • fUri

        public java.lang.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.
    • Constructor Detail

      • DOMLocatorImpl

        public DOMLocatorImpl()
        Deprecated.
      • DOMLocatorImpl

        public DOMLocatorImpl​(int lineNumber,
                              int columnNumber,
                              java.lang.String uri)
        Deprecated.
      • DOMLocatorImpl

        public DOMLocatorImpl​(int lineNumber,
                              int columnNumber,
                              int byteoffset,
                              org.w3c.dom.Node relatedData,
                              java.lang.String uri)
        Deprecated.
      • DOMLocatorImpl

        public DOMLocatorImpl​(int lineNumber,
                              int columnNumber,
                              int byteoffset,
                              org.w3c.dom.Node relatedData,
                              java.lang.String uri,
                              int utf16Offsert)
        Deprecated.
    • 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:
        getLineNumber in interface org.w3c.dom.DOMLocator
      • getColumnNumber

        public int getColumnNumber()
        Deprecated.
        The column number where the error occured, or -1 if there is no column number available.
        Specified by:
        getColumnNumber in interface org.w3c.dom.DOMLocator
      • getUri

        public java.lang.String getUri()
        Deprecated.
        The URI where the error occured, or null if there is no URI available.
        Specified by:
        getUri in interface org.w3c.dom.DOMLocator
      • getRelatedNode

        public org.w3c.dom.Node getRelatedNode()
        Deprecated.
        Specified by:
        getRelatedNode in interface org.w3c.dom.DOMLocator
      • 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:
        getByteOffset in interface org.w3c.dom.DOMLocator
      • 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:
        getUtf16Offset in interface org.w3c.dom.DOMLocator