Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.xml.xpath.functions
Class xpathId

    java.lang.Object
      com.novell.xml.xpath.Function
          com.novell.xml.xpath.functions.xpathId

    public class xpathId

extends Function

This class implements the XPath id(object) built-in function

Constructor Summary
`xpathId()` Construct an object for the id() function

Method Summary
`ExpressionValue` | `invoke(Object[] args)` Perform id() function
`String` | `toString()` Return function name.

Methods inherited from class com.novell.xml.xpath.Function
`getInstance, getSignature, isConstant, registerForReset`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### xpathId

    public xpathId()

  Construct an object for the id() function

Method Detail

### invoke

    public ExpressionValue invoke(Object[] args)
                           throws XPathEvaluationException

  Perform id() function

  Overrides:
    `invoke` in class `Function`
  Parameters:
    `args` - List of arguments. Three arguments First first argument must be the context node. The second argument must be the expression context object The third argument may be any expression value type
  Returns:
    A NodeSet value containing the nodes that have the desired id that are in the same document as the context node
  Throws:
    `XPathEvaluationException`

### toString

    public String toString()

  Return function name.

  Overrides:
    `toString` in class `Object`
  Returns:
    Function name.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD