Package com.helger.xml.xpath
Class XPathFunctionKey
java.lang.Object
com.helger.xml.xpath.XPathFunctionKey
- All Implemented Interfaces:
com.helger.commons.compare.IComparable<XPathFunctionKey>,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
-
Constructor Details
-
XPathFunctionKey
Constructor- Parameters:
aFunctionName- Function name. May not benull.nArity- The number of parameters the function takes. Must be ≥ 0.
-
-
Method Details
-
getFunctionName
- Returns:
- The function name and never
null.
-
getArity
- Returns:
- The number of parameters the function takes. Always ≥ 0.
-
compareTo
- Specified by:
compareToin interfaceComparable<XPathFunctionKey>
-
equals
-
hashCode
public int hashCode() -
toString
-