Class LocatorEx.Snapshot

java.lang.Object
org.glassfish.jaxb.core.v2.runtime.unmarshaller.LocatorEx.Snapshot
All Implemented Interfaces:
jakarta.xml.bind.ValidationEventLocator, LocatorEx, Locator
Enclosing interface:
LocatorEx

public static final class LocatorEx.Snapshot extends Object implements LocatorEx, jakarta.xml.bind.ValidationEventLocator
Immutable snapshot of a LocatorEx
  • Constructor Details

  • Method Details

    • getObject

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

      public Node getNode()
      Specified by:
      getNode in interface jakarta.xml.bind.ValidationEventLocator
    • getOffset

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

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

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

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

      public String getSystemId()
      Specified by:
      getSystemId in interface Locator
    • getPublicId

      public String getPublicId()
      Specified by:
      getPublicId in interface Locator
    • getLocation

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