com.sun.xml.bind.v2.runtime.unmarshaller
Class LocatorEx.Snapshot

java.lang.Object
  extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.bind.v2.runtime.unmarshaller.LocatorEx
LocatorEx.Snapshot
 
Constructor Summary
LocatorEx.Snapshot(LocatorEx loc)
           
 
Method Summary
 int getColumnNumber()
           
 int getLineNumber()
           
 ValidationEventLocator getLocation()
          Gets the current location in a ValidationEventLocator object.
 Node getNode()
           
 Object getObject()
           
 int getOffset()
           
 String getPublicId()
           
 String getSystemId()
           
 URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorEx.Snapshot

public LocatorEx.Snapshot(LocatorEx loc)
Method Detail

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