Package com.helger.xml.xpath
Class XPathFunctionKey
- java.lang.Object
-
- com.helger.xml.xpath.XPathFunctionKey
-
- All Implemented Interfaces:
com.helger.commons.compare.IComparable<XPathFunctionKey>,Serializable,Comparable<XPathFunctionKey>
@Immutable public final class XPathFunctionKey extends Object implements com.helger.commons.compare.IComparable<XPathFunctionKey>
This class contains a single key for a map-based function resolver.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XPathFunctionKey(QName aFunctionName, int nArity)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(XPathFunctionKey o)booleanequals(Object o)intgetArity()QNamegetFunctionName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
XPathFunctionKey
public XPathFunctionKey(@Nonnull QName aFunctionName, @Nonnegative int nArity)
Constructor- Parameters:
aFunctionName- Function name. May not benull.nArity- The number of parameters the function takes. Must be ≥ 0.
-
-
Method Detail
-
getArity
@Nonnegative public int getArity()
- Returns:
- The number of parameters the function takes. Always ≥ 0.
-
compareTo
public int compareTo(@Nonnull XPathFunctionKey o)
- Specified by:
compareToin interfaceComparable<XPathFunctionKey>
-
-