org.apache.cocoon.components.modules.input
Class JXPathHelper
java.lang.Object
org.apache.cocoon.components.modules.input.JXPathHelper
- public class JXPathHelper
- extends Object
- Version:
- $Id: JXPathHelper.java 433543 2006-08-22 06:22:54Z crossley $
- Author:
- Christian Haul, Vadim Gritsenko
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setup
public static JXPathHelperConfiguration setup(Configuration config)
throws ConfigurationException
- Configure component. Preprocess list of packages, functions
and namespaces to add to the JXPath context later.
This method used in both AbstractJXPathModule and JXPathMetaModule
to configure JXPath.
- Parameters:
config - a Configuration value
- Throws:
ConfigurationException - if an error occurs
getAttribute
public static Object getAttribute(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
- Throws:
ConfigurationException
getAttributeValues
public static Object[] getAttributeValues(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
- Throws:
ConfigurationException
getAttributeNames
public static Iterator getAttributeNames(JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
- Throws:
ConfigurationException
Copyright © 1999-2006 The Apache Software Foundation. All Rights Reserved.