com.novell.xml.xpath.functions
Class xpathLocalName

java.lang.Object
  extended bycom.novell.xml.xpath.Function
      extended bycom.novell.xml.xpath.functions.xpathLocalName

public class xpathLocalName
extends Function

This class implements the XPath local-name(node-set?) built-in function


Constructor Summary
xpathLocalName()
          Construct an object for the local-name() function
 
Method Summary
 ExpressionValue invoke(Object[] args)
          Perform local-name() 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

xpathLocalName

public xpathLocalName()
Construct an object for the local-name() function

Method Detail

invoke

public ExpressionValue invoke(Object[] args)
                       throws XPathEvaluationException
Perform local-name() function

Overrides:
invoke in class Function
Parameters:
args - List of arguments. First first argument must be the context node. The second argument must be the expression context object The third argument may not exist, or it may be a NodeSet object
Returns:
A string value containing the local part of the name
Throws:
XPathEvaluationException

toString

public String toString()
Return function name.

Returns:
Function name.