org.xmlhammer.gui.xpath
Class XPathSearchModule

java.lang.Object
  extended by org.xmlhammer.gui.util.JAXPSettings
      extended by org.xmlhammer.Module
          extended by org.xmlhammer.gui.xpath.XPathSearchModule

public class XPathSearchModule
extends Module

Put comment...

Version:
$Revision$, $Date$
Author:
Edwin Dankert

Constructor Summary
XPathSearchModule(Preferences preferences, Project project, org.apache.log4j.Logger logger)
          Sets-up an XPath Factory, creates an XPath and compiles the XPath Expression.
XPathSearchModule(Preferences preferences, Project project, org.apache.log4j.Logger logger, boolean logSettings)
           
 
Method Summary
 void execute(StatusModel status, ResultModel result, java.net.URI uri)
          Execute the XPath expression.
 
Methods inherited from class org.xmlhammer.Module
execute, getCatalogResolver, getDocumentBuilderFactory, getLogger, getPreferences, getProject, getSAXParser, getSchema, getSchemaFactory, getTransformerFactory, getXPath, hasErrors, hasFatal, hasWarnings, isLogSettings, isResultEnabled, logError, logError, logError, logFatal, logFatal, logSettings, logWarning, logWarning
 
Methods inherited from class org.xmlhammer.gui.util.JAXPSettings
getDocumentBuilderFactoryAttributes, getDocumentBuilderFactoryFeatures, getDocumentBuilderFactorySettings, getSAXParserFactoryFeatures, getSAXParserFactoryProperties, getSAXParserSettings, getSchemaFactoryFeatures, getSchemaFactoryLanguageProperties, getSchemaFactoryProperties, getSchemaFactorySettings, getTransformerFactoryAttributes, getTransformerFactoryFeatures, getTransformerFactorySettings, getXPathFactoryFeatures, getXPathFactoryMappings, getXPathFactorySettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathSearchModule

public XPathSearchModule(Preferences preferences,
                         Project project,
                         org.apache.log4j.Logger logger,
                         boolean logSettings)
                  throws javax.xml.xpath.XPathExpressionException,
                         javax.xml.parsers.ParserConfigurationException,
                         org.xml.sax.SAXException
Throws:
javax.xml.xpath.XPathExpressionException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException

XPathSearchModule

public XPathSearchModule(Preferences preferences,
                         Project project,
                         org.apache.log4j.Logger logger)
                  throws javax.xml.xpath.XPathExpressionException,
                         javax.xml.parsers.ParserConfigurationException,
                         org.xml.sax.SAXException
Sets-up an XPath Factory, creates an XPath and compiles the XPath Expression.

Parameters:
preferences - the global preferences.
project - the project specific properties;
Throws:
javax.xml.xpath.XPathFactoryConfigurationException
javax.xml.xpath.XPathExpressionException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Method Detail

execute

public void execute(StatusModel status,
                    ResultModel result,
                    java.net.URI uri)
             throws javax.xml.xpath.XPathExpressionException
Execute the XPath expression.

Overrides:
execute in class Module
Throws:
javax.xml.xpath.XPathExpressionException
java.io.IOException
org.xml.sax.SAXException


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.