Hilbert II - Version 0.01.09

org.qedeq.kernel.xml.tracker
Class XPathLocationFinder

java.lang.Object
  extended byorg.qedeq.kernel.xml.tracker.XPathLocationFinder

public final class XPathLocationFinder
extends Object

Find position of simple XPath expressions within an XML file.

Version:
$Revision: 1.12 $

Field Summary
static String TRACE_FILE_PATH
          Location of trace file.
 
Method Summary
static SimpleXPath getXPathLocation(String xmlFile, String xpath)
          Search simple XPath within an XML file.
static void main(String[] args)
          Main method.
static void printProgramInformation()
          Writes calling convention to System.err.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_FILE_PATH

public static final String TRACE_FILE_PATH
Location of trace file.

See Also:
Constant Field Values
Method Detail

main

public static final void main(String[] args)
                       throws ParserConfigurationException,
                              SAXException,
                              IOException
Main method.

Parameters:
args - Various parameters. See implementation of printProgramInformation().
Throws:
ParserConfigurationException
SAXException
IOException

getXPathLocation

public static final SimpleXPath getXPathLocation(String xmlFile,
                                                 String xpath)
                                          throws ParserConfigurationException,
                                                 SAXException,
                                                 IOException
Search simple XPath within an XML file.

Parameters:
xmlFile - Search this file.
xpath - Search for this simple XPath.
Returns:
Source position information.
Throws:
ParserConfigurationException
SAXException
IOException

printProgramInformation

public static final void printProgramInformation()
Writes calling convention to System.err.


Hilbert II - Version 0.01.09

©left GNU General Public Licence
All Rights Reserved.