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 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 int
getColumnNumber()
int
getLineNumber()
ValidationEventLocator
getLocation()
Gets the current location in aValidationEventLocator
object.Node
getNode()
Object
getObject()
int
getOffset()
String
getPublicId()
String
getSystemId()
URL
getURL()
-
-
-
Constructor Detail
-
Snapshot
public Snapshot(LocatorEx loc)
-
-
Method Detail
-
getObject
public Object getObject()
- Specified by:
getObject
in interfaceValidationEventLocator
-
getNode
public Node getNode()
- Specified by:
getNode
in interfaceValidationEventLocator
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfaceValidationEventLocator
-
getURL
public URL getURL()
- Specified by:
getURL
in interfaceValidationEventLocator
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interfaceLocator
- Specified by:
getColumnNumber
in interfaceValidationEventLocator
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceLocator
- Specified by:
getLineNumber
in interfaceValidationEventLocator
-
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interfaceLocator
-
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interfaceLocator
-
getLocation
public ValidationEventLocator getLocation()
Description copied from interface:LocatorEx
Gets the current location in aValidationEventLocator
object.- Specified by:
getLocation
in interfaceLocatorEx
- Returns:
-
-