Top Description Fields Constructors Methods
org.jdom.output

public Class JDOMLocator

extends LocatorImpl
Class Inheritance
Imports
org.xml.sax.*, org.xml.sax.helpers.*

An implementation of the SAX Locator interface that exposes the JDOM node being processed by SAXOutputter.
Author
Laurent Bihanic
Version
$Revision: 1.4 $, $Date: 2007/11/10 05:29:01 $

Field Summary

Modifier and TypeField and Description
private static final String
private Object
node

The JDOM node being processed by SAXOutputter.

Constructor Summary

AccessConstructor and Description
pack-priv
JDOMLocator()

Default no-arg constructor.

pack-priv
JDOMLocator(Locator
Locator to copy location information from.
locator
)

Copy contructor.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the JDOM node being processed by SAXOutputter.
getNode
()

Returns the JDOM node being processed by SAXOutputter.

pack-priv void
setNode(Object
Object node currently processed by SAXOutputter.
node
)

Sets the being-processed node.

Inherited from org.xml.sax.helpers.LocatorImpl:
getColumnNumbergetLineNumbergetPublicIdgetSystemIdsetColumnNumbersetLineNumbersetPublicIdsetSystemId

Field Detail

CVS_IDback to summary
private static final String CVS_ID
nodeback to summary
private Object node

The JDOM node being processed by SAXOutputter.

Constructor Detail

JDOMLocatorback to summary
pack-priv JDOMLocator()

Default no-arg constructor.

JDOMLocatorback to summary
pack-priv JDOMLocator(Locator locator)

Copy contructor.

Parameters
locator:Locator

Locator to copy location information from.

Method Detail

getNodeback to summary
public Object getNode()

Returns the JDOM node being processed by SAXOutputter.

Returns:Object

the JDOM node being processed by SAXOutputter.

setNodeback to summary
pack-priv void setNode(Object node)

Sets the being-processed node.

Parameters
node:Object

Object node currently processed by SAXOutputter.