Hilbert II - Version 0.03.01

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.13 $

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
 

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.03.01

©left GNU General Public Licence
All Rights Reserved.