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