javax.xml.bind.helpers

Class ValidationEventLocatorImpl

public class ValidationEventLocatorImpl extends Object implements ValidationEventLocator

Default implementation of a ValidationEventLocator.

Since: JAXB1.0

Author: JSR-31

Constructor Summary
ValidationEventLocatorImpl()

Creates a new instance of ValidationEventLocatorImpl.

ValidationEventLocatorImpl(Locator pLocator)

Creates a new instance of ValidationEventLocatorImpl by copying data from the given org.xml.sax.Locator.

ValidationEventLocatorImpl(Node pNode)

Creates a new instance of ValidationEventLocatorImpl by setting the node property.

ValidationEventLocatorImpl(Object pObject)

Creates a new instance of ValidationEventLocatorImpl by setting the object property.

ValidationEventLocatorImpl(SAXParseException pException)

Creates a new instance of ValidationEventLocatorImpl by copying data from the given org.xml.sax.SAXParseException.

Method Summary
intgetColumnNumber()
intgetLineNumber()
NodegetNode()
ObjectgetObject()
intgetOffset()
URLgetURL()
voidsetColumnNumber(int pColumnNumber)

Sets the column number.

voidsetLineNumber(int pLineNumber)

Sets the line number.

voidsetNode(Node pNode)

Sets the node.

voidsetObject(Object pObject)

Sets the object.

voidsetOffset(int pOffset)

Sets the offset.

voidsetURL(URL pURL)

Sets the URL.

Constructor Detail

ValidationEventLocatorImpl

public ValidationEventLocatorImpl()

Creates a new instance of ValidationEventLocatorImpl.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Locator pLocator)

Creates a new instance of ValidationEventLocatorImpl by copying data from the given org.xml.sax.Locator.

Parameters: pLocator The SAX locator where to copy from.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Node pNode)

Creates a new instance of ValidationEventLocatorImpl by setting the node property.

Parameters: pNode The node being referenced.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(Object pObject)

Creates a new instance of ValidationEventLocatorImpl by setting the object property.

Parameters: pObject The object being referenced.

ValidationEventLocatorImpl

public ValidationEventLocatorImpl(SAXParseException pException)

Creates a new instance of ValidationEventLocatorImpl by copying data from the given org.xml.sax.SAXParseException.

Parameters: pException The SAX exception where to copy from.

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 pColumnNumber)

Sets the column number.

setLineNumber

public void setLineNumber(int pLineNumber)

Sets the line number.

setNode

public void setNode(Node pNode)

Sets the node.

setObject

public void setObject(Object pObject)

Sets the object.

setOffset

public void setOffset(int pOffset)

Sets the offset.

setURL

public void setURL(URL pURL)

Sets the URL.