JDOM
2.0.5

org.jdom2.output.support
Class SAXTarget.SAXLocator

java.lang.Object
  extended by org.jdom2.output.support.SAXTarget.SAXLocator
All Implemented Interfaces:
JDOMLocator, org.xml.sax.Locator
Enclosing class:
SAXTarget

public static final class SAXTarget.SAXLocator
extends java.lang.Object
implements JDOMLocator

A locator specific to the SAXOutputter process.

Author:
Rolf Lear

Constructor Summary
SAXTarget.SAXLocator(java.lang.String publicid, java.lang.String systemid)
          Creates a SAXLocator which implements JDOMLocator
 
Method Summary
 int getColumnNumber()
           
 int getLineNumber()
           
 java.lang.Object getNode()
          Returns the JDOM node being processed by SAXOutputter.
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 void setNode(java.lang.Object node)
          Set the location on this SAXLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXTarget.SAXLocator

public SAXTarget.SAXLocator(java.lang.String publicid,
                            java.lang.String systemid)
Creates a SAXLocator which implements JDOMLocator

Parameters:
publicid - This Locator's SystemID
systemid - This Locator's PublicID
Method Detail

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface org.xml.sax.Locator

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface org.xml.sax.Locator

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface org.xml.sax.Locator

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface org.xml.sax.Locator

getNode

public java.lang.Object getNode()
Description copied from interface: JDOMLocator
Returns the JDOM node being processed by SAXOutputter.

Specified by:
getNode in interface JDOMLocator
Returns:
the JDOM node being processed by SAXOutputter.

setNode

public void setNode(java.lang.Object node)
Set the location on this SAXLocator

Parameters:
node - The location to set.

JDOM
2.0.5

Copyright � 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.