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 TypeMethodDescriptionint
int
getNode()
Returns the JDOM node being processed by SAXOutputter.void
Set 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:
getColumnNumber
in interfaceLocator
-
getLineNumber
public int getLineNumber()- Specified by:
getLineNumber
in interfaceLocator
-
getPublicId
- Specified by:
getPublicId
in interfaceLocator
-
getSystemId
- Specified by:
getSystemId
in interfaceLocator
-
getNode
Description copied from interface:JDOMLocator
Returns the JDOM node being processed by SAXOutputter.- Specified by:
getNode
in interfaceJDOMLocator
- Returns:
- the JDOM node being processed by SAXOutputter.
-
setNode
Set the location on this SAXLocator- Parameters:
node
- The location to set.
-