com.japisoft.xpath.function.basic
Class NamespaceURI
java.lang.Object
|
+--com.japisoft.xpath.function.AbstractFunction
|
+--com.japisoft.xpath.function.basic.NamespaceURI
- All Implemented Interfaces:
- Function
- public final class NamespaceURI
- extends AbstractFunction
Function returns the namespace URI of the expanded-name of the node in the argument node-set that is first in document order. If the argument node-set is empty, the first node has no expanded-name, or the namespace URI of the expanded-name is null, an empty string is returned. If the argument is omitted, it defaults to a node-set with the context node as its only member.
- Version:
- 1.1
- Author:
- (c) 2003 JAPISOFT
|
Method Summary |
java.lang.Object |
eval(XPathContext context,
FastVector arg)
Evalute this function for this context and the following arguments |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NamespaceURI
public NamespaceURI()
eval
public java.lang.Object eval(XPathContext context,
FastVector arg)
- Description copied from class:
AbstractFunction
- Evalute this function for this context and the following arguments
- Specified by:
eval in interface Function- Specified by:
eval in class AbstractFunction
- Parameters:
arg - a Vector value, this is the responsability of the function to test the argument type
- Returns:
- an
Object value like Integer, Boolean, String or NodeSet