Class LocatorEx.Snapshot

  • All Implemented Interfaces:
    LocatorEx, javax.xml.bind.ValidationEventLocator, org.xml.sax.Locator
    Enclosing interface:
    LocatorEx

    public static final class LocatorEx.Snapshot
    extends java.lang.Object
    implements LocatorEx, javax.xml.bind.ValidationEventLocator
    Immutable snapshot of a LocatorEx
    • Constructor Detail

      • Snapshot

        public Snapshot​(LocatorEx loc)
    • Method Detail

      • getObject

        public java.lang.Object getObject()
        Specified by:
        getObject in interface javax.xml.bind.ValidationEventLocator
      • getNode

        public org.w3c.dom.Node getNode()
        Specified by:
        getNode in interface javax.xml.bind.ValidationEventLocator
      • getOffset

        public int getOffset()
        Specified by:
        getOffset in interface javax.xml.bind.ValidationEventLocator
      • getURL

        public java.net.URL getURL()
        Specified by:
        getURL in interface javax.xml.bind.ValidationEventLocator
      • getColumnNumber

        public int getColumnNumber()
        Specified by:
        getColumnNumber in interface org.xml.sax.Locator
        Specified by:
        getColumnNumber in interface javax.xml.bind.ValidationEventLocator
      • getLineNumber

        public int getLineNumber()
        Specified by:
        getLineNumber in interface org.xml.sax.Locator
        Specified by:
        getLineNumber in interface javax.xml.bind.ValidationEventLocator
      • getSystemId

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

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

        public javax.xml.bind.ValidationEventLocator getLocation()
        Description copied from interface: LocatorEx
        Gets the current location in a ValidationEventLocator object.
        Specified by:
        getLocation in interface LocatorEx
        Returns: