Package org.jdom2.output.support
Class SAXTarget.SAXLocator
java.lang.Object
org.jdom2.output.support.SAXTarget.SAXLocator
- All Implemented Interfaces:
JDOMLocator,Locator
- Enclosing class:
- SAXTarget
A locator specific to the SAXOutputter process.
- Author:
- Rolf Lear
-
Constructor Summary
ConstructorsConstructorDescriptionSAXLocator(String publicid, String systemid) Creates a SAXLocator which implements JDOMLocator -
Method Summary
Modifier and TypeMethodDescriptionintintgetNode()Returns the JDOM node being processed by SAXOutputter.voidSet the location on this SAXLocator
-
Constructor Details
-
SAXLocator
Creates a SAXLocator which implements JDOMLocator- Parameters:
publicid- This Locator's SystemIDsystemid- This Locator's PublicID
-
-
Method Details
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceLocator
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumberin interfaceLocator
-
getPublicId
- Specified by:
getPublicIdin interfaceLocator
-
getSystemId
- Specified by:
getSystemIdin interfaceLocator
-
getNode
Description copied from interface:JDOMLocatorReturns the JDOM node being processed by SAXOutputter.- Specified by:
getNodein interfaceJDOMLocator- Returns:
- the JDOM node being processed by SAXOutputter.
-
setNode
Set the location on this SAXLocator- Parameters:
node- The location to set.
-