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, 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


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()
           
 javax.xml.bind.ValidationEventLocator getLocation()
          Gets the current location in a ValidationEventLocator object.
 org.w3c.dom.Node getNode()
           
 java.lang.Object getObject()
           
 int getOffset()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 java.net.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 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 javax.xml.bind.ValidationEventLocator
Specified by:
getColumnNumber in interface org.xml.sax.Locator

getLineNumber

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

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