Package org.jdom.output.support
Class SAXTarget.SAXLocator
- java.lang.Object
-
- org.jdom.output.support.SAXTarget.SAXLocator
-
- All Implemented Interfaces:
JDOMLocator,Locator
- Enclosing class:
- SAXTarget
public static final class SAXTarget.SAXLocator extends Object implements JDOMLocator
A locator specific to the SAXOutputter process.
-
-
Constructor Summary
Constructors Constructor Description SAXLocator(String publicid, String systemid)Creates a SAXLocator which implements JDOMLocator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnNumber()intgetLineNumber()ObjectgetNode()Returns the JDOM node being processed by SAXOutputter.StringgetPublicId()StringgetSystemId()voidsetNode(Object node)Set the location on this SAXLocator
-
-
-
Method Detail
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumberin interfaceLocator
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumberin interfaceLocator
-
getPublicId
public String getPublicId()
- Specified by:
getPublicIdin interfaceLocator
-
getSystemId
public String getSystemId()
- Specified by:
getSystemIdin interfaceLocator
-
getNode
public Object 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
public void setNode(Object node)
Set the location on this SAXLocator- Parameters:
node- The location to set.
-
-