- 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 aLocatorEx
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.xml.bind.v2.runtime.unmarshaller.LocatorEx
LocatorEx.Snapshot
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()intgetLineNumber()ValidationEventLocatorgetLocation()Gets the current location in aValidationEventLocatorobject.NodegetNode()ObjectgetObject()intgetOffset()StringgetPublicId()StringgetSystemId()URLgetURL()
-
-
-
Constructor Detail
-
Snapshot
public Snapshot(LocatorEx loc)
-
-
Method Detail
-
getObject
public Object getObject()
- Specified by:
getObjectin interfaceValidationEventLocator
-
getNode
public Node getNode()
- Specified by:
getNodein interfaceValidationEventLocator
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceValidationEventLocator
-
getURL
public URL getURL()
- Specified by:
getURLin interfaceValidationEventLocator
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumberin interfaceLocator- Specified by:
getColumnNumberin interfaceValidationEventLocator
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfaceLocator- Specified by:
getLineNumberin interfaceValidationEventLocator
-
getSystemId
public String getSystemId()
- Specified by:
getSystemIdin interfaceLocator
-
getPublicId
public String getPublicId()
- Specified by:
getPublicIdin interfaceLocator
-
getLocation
public ValidationEventLocator getLocation()
Description copied from interface:LocatorExGets the current location in aValidationEventLocatorobject.- Specified by:
getLocationin interfaceLocatorEx- Returns:
-
-