com.sun.xml.bind.v2.runtime.unmarshaller
Class LocatorEx.Snapshot
java.lang.Object
com.sun.xml.bind.v2.runtime.unmarshaller.LocatorEx.Snapshot
- All Implemented Interfaces:
- LocatorEx, ValidationEventLocator, Locator
- Enclosing interface:
- LocatorEx
public static final class LocatorEx.Snapshot
- extends Object
- implements LocatorEx, ValidationEventLocator
Immutable snapshot of a LocatorEx
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocatorEx.Snapshot
public LocatorEx.Snapshot(LocatorEx loc)
getObject
public Object getObject()
- Specified by:
getObject
in interface ValidationEventLocator
getNode
public Node getNode()
- Specified by:
getNode
in interface ValidationEventLocator
getOffset
public int getOffset()
- Specified by:
getOffset
in interface ValidationEventLocator
getURL
public URL getURL()
- Specified by:
getURL
in interface ValidationEventLocator
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interface ValidationEventLocator
- Specified by:
getColumnNumber
in interface Locator
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interface ValidationEventLocator
- Specified by:
getLineNumber
in interface Locator
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interface Locator
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interface Locator
getLocation
public ValidationEventLocator getLocation()
- Description copied from interface:
LocatorEx
- Gets the current location in a
ValidationEventLocator
object.
- Specified by:
getLocation
in interface LocatorEx