|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.components.modules.input.JXPathHelper
public class JXPathHelper
| Method Summary | |
|---|---|
static Object |
getAttribute(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
Return the String value of the attribute or the Node found using the XPath expression. |
static Iterator |
getAttributeNames(JXPathHelperConfiguration setup,
Object contextObj)
|
static String |
getAttributeValue(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
Return the String value of the attribute or element identified in the XPath expression. |
static Object[] |
getAttributeValues(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
|
static JXPathHelperConfiguration |
setup(Configuration config)
Configure component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JXPathHelperConfiguration setup(Configuration config)
throws ConfigurationException
config - a Configuration value
ConfigurationException - if an error occurs
public static String getAttributeValue(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
name - The XPath expressionmodeConf - The Configuration.setup - The JXPathHelperConfiguration.contextObj - The root Element to search.
ConfigurationException - if an Exception occurs.
public static Object getAttribute(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
name - The XPath expressionmodeConf - The Configuration.setup - The JXPathHelperConfiguration.contextObj - The root Element to search.
ConfigurationException - if an Exception occurs.
public static Object[] getAttributeValues(String name,
Configuration modeConf,
JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
ConfigurationException
public static Iterator getAttributeNames(JXPathHelperConfiguration setup,
Object contextObj)
throws ConfigurationException
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||