public static final class LocatorEx.Snapshot extends Object implements LocatorEx, ValidationEventLocator
LocatorExLocatorEx.Snapshot| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Return the column number if available
|
int |
getLineNumber()
Return the line number if available
|
ValidationEventLocator |
getLocation()
Gets the current location in a
ValidationEventLocator object. |
Node |
getNode()
Return a reference to the DOM Node if available
|
Object |
getObject()
Return a reference to the object in the Java content tree if available
|
int |
getOffset()
Return the byte offset if available
|
String |
getPublicId() |
String |
getSystemId() |
URL |
getURL()
Return the name of the XML source as a URL if available
|
public Snapshot(LocatorEx loc)
public Object getObject()
ValidationEventLocatorgetObject in interface ValidationEventLocatorpublic Node getNode()
ValidationEventLocatorgetNode in interface ValidationEventLocatorpublic int getOffset()
ValidationEventLocatorgetOffset in interface ValidationEventLocatorpublic URL getURL()
ValidationEventLocatorgetURL in interface ValidationEventLocatorpublic int getColumnNumber()
ValidationEventLocatorgetColumnNumber in interface ValidationEventLocatorgetColumnNumber in interface Locatorpublic int getLineNumber()
ValidationEventLocatorgetLineNumber in interface ValidationEventLocatorgetLineNumber in interface Locatorpublic String getSystemId()
getSystemId in interface Locatorpublic String getPublicId()
getPublicId in interface Locatorpublic ValidationEventLocator getLocation()
LocatorExValidationEventLocator object.getLocation in interface LocatorExCopyright © 2018 JBoss by Red Hat. All rights reserved.