|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.xpath.XPathFunctionMetaData
public final class XPathFunctionMetaData
Invariant class that defines implementation details of XPath functions.
| Constructor Summary | |
|---|---|
XPathFunctionMetaData(java.lang.String name,
java.lang.String namespace,
XPathFunction function,
int minArgs,
int maxArgs)
Create function metadata. |
|
| Method Summary | |
|---|---|
XPathFunction |
getFunction()
Return the function implementation |
int |
getMaxArgs()
Return the maximum number of arguments or -1 if the function allows unlimited arguments. |
int |
getMinArgs()
Return the mininum number of arguments. |
java.lang.String |
getName()
Return the function name, as used in XPath expressions. |
java.lang.String |
getNamespace()
Return the namespace of the function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathFunctionMetaData(java.lang.String name,
java.lang.String namespace,
XPathFunction function,
int minArgs,
int maxArgs)
name - the name of the function, as it occurs in XPath expressions.namespace - the namespace of the functions.function - the function implementationminArgs - the minimum number of arguments. Must be non-negative.maxArgs - the maximum number of arguments. Must be non-negative or -1 indicating an unlimited number of arguments.
java.lang.NullPointerException - if name or function name are null.
java.lang.IllegalArgumentException - if minArgs or maxArgs do not conform to their expected values.| Method Detail |
|---|
public final java.lang.String getNamespace()
public XPathFunction getFunction()
public int getMinArgs()
public int getMaxArgs()
public java.lang.String getName()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||