Interface XPathEvalContext.VariableLookup

Enclosing class:
XPathEvalContext

public static interface XPathEvalContext.VariableLookup
Resolves a variable reference, returns null if the variable is not defined.
  • Method Summary

    Modifier and Type
    Method
    Description
    lookup(String name, String ns_uri)
    Look up a variable.
  • Method Details

    • lookup

      XPathResult lookup(String name, String ns_uri)
      Look up a variable.
      Parameters:
      name - The local name.
      ns_uri - The namespace uri, null for an unprefixed name.
      Returns:
      The value, or null if not defined. The caller does not change it.