Class SAXTarget.SAXLocator

java.lang.Object
org.jdom2.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.
Author:
Rolf Lear
  • Constructor Details

    • SAXLocator

      public SAXLocator(String publicid, String systemid)
      Creates a SAXLocator which implements JDOMLocator
      Parameters:
      publicid - This Locator's SystemID
      systemid - This Locator's PublicID
  • Method Details

    • getColumnNumber

      public int getColumnNumber()
      Specified by:
      getColumnNumber in interface Locator
    • getLineNumber

      public int getLineNumber()
      Specified by:
      getLineNumber in interface Locator
    • getPublicId

      public String getPublicId()
      Specified by:
      getPublicId in interface Locator
    • getSystemId

      public String getSystemId()
      Specified by:
      getSystemId in interface Locator
    • getNode

      public Object getNode()
      Description copied from interface: JDOMLocator
      Returns the JDOM node being processed by SAXOutputter.
      Specified by:
      getNode in interface JDOMLocator
      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.