org.ucl.xpath.function
Class FnQName
java.lang.Object
org.ucl.xpath.function.Function
org.ucl.xpath.function.FnQName
- public class FnQName
- extends Function
Returns an xs:QName with the namespace URI given in $paramURI.
If $paramURI is the empty string or the empty sequence, it represents
"no namespace". The prefix (or absence of a prefix) in $paramQName is
retained in the returned xs:QName value. The local name in the result
is taken from the local part of $paramQName.
Constructor Summary |
FnQName()
Constructor for FnQName. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FnQName
public FnQName()
- Constructor for FnQName.
evaluate
public ResultSequence evaluate(java.util.Collection args)
throws DynamicError
- Evaluate arguments.
- Specified by:
evaluate
in class Function
- Parameters:
args
- argument expressions.
- Returns:
- Result of evaluation.
- Throws:
DynamicError
- Dynamic error.
resolve_QName
public static ResultSequence resolve_QName(java.util.Collection args,
StaticContext sc)
throws DynamicError
- Resolve the QName of the given arguments.
- Parameters:
args
- Result from teh expressions evaluation.sc
- Result of static context operation.
- Returns:
- Result of the fn:QName operation.
- Throws:
DynamicError
- Dynamic error.
expected_args
public static java.util.Collection expected_args()
- Obtain a list of expected arguments.
- Returns:
- Result of operation.