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