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 xpathStringLength

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

    public class xpathStringLength

extends Function

This class implements the XPath string-length(string?) built-in function

Constructor Summary
`xpathStringLength()` Construct an object for the string-length() function

Method Summary
`ExpressionValue` | `invoke(Object[] args)` Perform string-length() 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

### xpathStringLength

    public xpathStringLength()

  Construct an object for the string-length() function

Method Detail

### invoke

    public ExpressionValue invoke(Object[] args)
                           throws XPathEvaluationException

  Perform string-length() function

  Overrides:
    `invoke` in class `Function`
  Parameters:
    `args` - List of arguments. The argument is optional. If specified, it must resolve to string type. If the argument is unspecified, the value of the context node is used as the argument.
  Returns:
    The length of the argument in characters.
  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