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 int
getColumnNumber()
int
getLineNumber()
Object
getNode()
Returns the JDOM node being processed by SAXOutputter.String
getPublicId()
String
getSystemId()
void
setNode(Object node)
Set the location on this SAXLocator
-
-
-
Method Detail
-
getColumnNumber
public int getColumnNumber()
- Specified by:
getColumnNumber
in interfaceLocator
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceLocator
-
getPublicId
public String getPublicId()
- Specified by:
getPublicId
in interfaceLocator
-
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interfaceLocator
-
getNode
public Object 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
public void setNode(Object node)
Set the location on this SAXLocator- Parameters:
node
- The location to set.
-
-