This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.bind.helpers
class ValidationEventLocatorImpl

java.lang.Object extended by javax.xml.bind.helpers.ValidationEventLocatorImpl
All Implemented Interfaces:
ValidationEventLocator

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.

          Constructs an object that points to a DOM Node.

          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

          
 Object

          
 int

          
 URL

          
 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
setNode(Node _node)

          Set the Node field on this event locator.
 void
setObject(Object _object)

          Set the Object field on this event locator.
 void
setOffset(int _offset)

          Set the offset field on this event locator.
 void
setURL(URL _url)

          Set the URL field on this event locator.
 String

          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

ValidationEventLocatorImpl

public ValidationEventLocatorImpl()
Creates an object with all fields unavailable.


ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Locator loc)
Constructs an object from an org.xml.sax.Locator. The object's ColumnNumber, LineNumber, and URL become available from the values returned by the locator's getColumnNumber(), getLineNumber(), and getSystemId() methods respectively. Node, Object, and Offset are not available.

Parameters:
loc - the SAX Locator object that will be used to populate this event locator.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Node _node)
Constructs an object that points to a DOM Node. The object's Node becomes available. ColumnNumber, LineNumber, Object, Offset, and URL are not available.

Parameters:
_node - the DOM Node object that will be used to populate this event locator.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Object _object)
Constructs an object that points to a JAXB content object. The object's Object becomes available. ColumnNumber, LineNumber, Node, Offset, and URL are not available.

Parameters:
_object - the Object that will be used to populate this event locator.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(SAXParseException e)
Constructs an object from the location information of a SAXParseException. The object's ColumnNumber, LineNumber, and URL become available from the values returned by the locator's getColumnNumber(), getLineNumber(), and getSystemId() methods respectively. Node, Object, and Offset are not available.

Parameters:
e - the SAXParseException object that will be used to populate this event locator.
Method Detail

getColumnNumber

public int getColumnNumber()

getLineNumber

public int getLineNumber()

getNode

public Node getNode()

getObject

public Object getObject()

getOffset

public int getOffset()

getURL

public URL getURL()

setColumnNumber

public void setColumnNumber(int _columnNumber)
Set the columnNumber field on this event locator.

Parameters:
_columnNumber - the column number

setLineNumber

public void setLineNumber(int _lineNumber)
Set the lineNumber field on this event locator.

Parameters:
_lineNumber - the line number

setNode

public void setNode(Node _node)
Set the Node field on this event locator. Null values are allowed.

Parameters:
_node - the Node

setObject

public void setObject(Object _object)
Set the Object field on this event locator. Null values are allowed.

Parameters:
_object - the java content object

setOffset

public void setOffset(int _offset)
Set the offset field on this event locator.

Parameters:
_offset - the offset

setURL

public void setURL(URL _url)
Set the URL field on this event locator. Null values are allowed.

Parameters:
_url - the url

toString

public String toString()
Returns a string representation of this object in a format helpful to debugging.

Overrides:
toString in class Object


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.