| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class ValidationEventLocatorImpl extends Object implements ValidationEventLocator
Default implementation of the ValidationEventLocator interface.
JAXB providers are allowed to use whatever class that implements the ValidationEventLocator interface. This class is just provided for a convenience.
Constructor Summary | |
---|---|
Creates an object with all fields unavailable. |
|
Constructs an object from an org.xml.sax.Locator. |
|
ValidationEventLocatorImpl(Node _node) Constructs an object that points to a DOM Node. |
|
ValidationEventLocatorImpl(Object _object) Constructs an object that points to a JAXB content object. |
|
Constructs an object from the location information of a SAXParseException. |
Method Summary | |
---|---|
int |
|
int |
|
Node |
getNode() |
Object |
|
int |
|
URL |
getURL() |
void |
setColumnNumber(int _columnNumber) Set the columnNumber field on this event locator. |
void |
setLineNumber(int _lineNumber) Set the lineNumber field on this event locator. |
void |
Set the Node field on this event locator. |
void |
Set the Object field on this event locator. |
void |
setOffset(int _offset) Set the offset field on this event locator. |
void |
Set the URL field on this event locator. |
String |
toString() Returns a string representation of this object in a format helpful to debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationEventLocatorImpl()
public ValidationEventLocatorImpl(Locator loc)
loc
- the SAX Locator object that will be used to populate this
event locator.public ValidationEventLocatorImpl(Node _node)
_node
- the DOM Node object that will be used to populate this
event locator.public ValidationEventLocatorImpl(Object _object)
_object
- the Object that will be used to populate this
event locator.public ValidationEventLocatorImpl(SAXParseException e)
e
- the SAXParseException object that will be used to populate this
event locator.Method Detail |
---|
public int getColumnNumber()
public int getLineNumber()
public Node getNode()
public Object getObject()
public int getOffset()
public URL getURL()
public void setColumnNumber(int _columnNumber)
_columnNumber
- the column numberpublic void setLineNumber(int _lineNumber)
_lineNumber
- the line numberpublic void setNode(Node _node)
_node
- the Nodepublic void setObject(Object _object)
_object
- the java content objectpublic void setOffset(int _offset)
_offset
- the offsetpublic void setURL(URL _url)
_url
- the urlpublic String toString()
toString
in class Object
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |