public static final class LocatorEx.Snapshot extends Object implements LocatorEx, ValidationEventLocator
LocatorEx
LocatorEx.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()
ValidationEventLocator
getObject
in interface ValidationEventLocator
public Node getNode()
ValidationEventLocator
getNode
in interface ValidationEventLocator
public int getOffset()
ValidationEventLocator
getOffset
in interface ValidationEventLocator
public URL getURL()
ValidationEventLocator
getURL
in interface ValidationEventLocator
public int getColumnNumber()
ValidationEventLocator
getColumnNumber
in interface ValidationEventLocator
getColumnNumber
in interface Locator
public int getLineNumber()
ValidationEventLocator
getLineNumber
in interface ValidationEventLocator
getLineNumber
in interface Locator
public String getSystemId()
getSystemId
in interface Locator
public String getPublicId()
getPublicId
in interface Locator
public ValidationEventLocator getLocation()
LocatorEx
ValidationEventLocator
object.getLocation
in interface LocatorEx
Copyright © 2017 JBoss by Red Hat. All rights reserved.