Class LocatorImpl

  • All Implemented Interfaces:
    org.xml.sax.Locator

    public final class LocatorImpl
    extends java.lang.Object
    implements org.xml.sax.Locator
    A locator implementation.
    Version:
    $Id$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int column
      The column.
      private int line
      The line.
      private java.lang.String publicId
      The public id.
      private java.lang.String systemId
      The system id.
    • Constructor Summary

      Constructors 
      Constructor Description
      LocatorImpl​(org.xml.sax.Locator locator)
      The constructor.
    • Field Detail

      • systemId

        private final java.lang.String systemId
        The system id.
      • publicId

        private final java.lang.String publicId
        The public id.
      • column

        private final int column
        The column.
      • line

        private final int line
        The line.
    • Constructor Detail

      • LocatorImpl

        public LocatorImpl​(org.xml.sax.Locator locator)
        The constructor.
        Parameters:
        locator - the locator
    • Method Detail

      • getColumnNumber

        public int getColumnNumber()
        Specified by:
        getColumnNumber in interface org.xml.sax.Locator
        See Also:
        Locator.getColumnNumber()
      • getLineNumber

        public int getLineNumber()
        Specified by:
        getLineNumber in interface org.xml.sax.Locator
        See Also:
        Locator.getLineNumber()
      • getPublicId

        public java.lang.String getPublicId()
        Specified by:
        getPublicId in interface org.xml.sax.Locator
        See Also:
        Locator.getPublicId()
      • getSystemId

        public java.lang.String getSystemId()
        Specified by:
        getSystemId in interface org.xml.sax.Locator
        See Also:
        Locator.getSystemId()