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 xpathLang

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

    public class xpathLang

extends Function

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

Constructor Summary
`xpathLang()` Construct an object for the lang() function

Method Summary
`ExpressionValue` | `invoke(Object[] args)` Perform lang() function

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, toString, wait, wait, wait`

Constructor Detail

### xpathLang

    public xpathLang()

  Construct an object for the lang() function

Method Detail

### invoke

    public ExpressionValue invoke(Object[] args)
                           throws XPathEvaluationException

  Perform lang() function

  Overrides:
    `invoke` in class `Function`
  Parameters:
    `args` - List of arguments. Three arguments: args[0] = context node args[1] = expression context args[2] = string
  Returns:
    true or false, depending on whther the language of the context node as specified by xml:lang is the same as or is a sublanguage of the language specified by the argument string
  Throws:
    `XPathEvaluationException`

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