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 a
LocatorEx
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.bind.v2.runtime.unmarshaller.LocatorEx
LocatorEx.Snapshot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
Gets the current location in aValidationEventLocator
object.getNode()
int
getURL()
-
Constructor Details
-
Snapshot
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceValidationEventLocator
-
getNode
- Specified by:
getNode
in interfaceValidationEventLocator
-
getOffset
public int getOffset()- Specified by:
getOffset
in interfaceValidationEventLocator
-
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
- Specified by:
getSystemId
in interfaceLocator
-
getPublicId
- Specified by:
getPublicId
in interfaceLocator
-
getLocation
Description copied from interface:LocatorEx
Gets the current location in aValidationEventLocator
object.- Specified by:
getLocation
in interfaceLocatorEx
- Returns:
-