Class xrx.xpath.NameTest
Defined in: nameTest.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.xpath.NameTest(name, opt_namespaceUri)
Constructs a NameTest based on the XPath grammar.
|
Method Attributes | Method Name and Description |
---|---|
getName()
|
|
Returns the namespace URI to be matched.
|
|
matches(node)
|
|
toString()
|
Class Detail
xrx.xpath.NameTest(name, opt_namespaceUri)
Constructs a NameTest based on the XPath grammar.
http://www.w3.org/TR/xpath/#NT-NameTest
- Parameters:
- {string} name
- Name to be tested.
- {string=} opt_namespaceUri
- Namespace URI.
Method Detail
getName()
{string}
getNamespaceUri()
Returns the namespace URI to be matched.
- Returns:
- {string} Namespace URI.
matches(node)
- Parameters:
- node
toString()