public class NodeNameTest extends NodeTest
Constructor and Description |
---|
NodeNameTest(QName qname)
Create a new NodeNameTest.
|
NodeNameTest(QName qname,
String namespaceURI)
Create a new NodeNameTest.
|
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceURI()
Get the ns URI.
|
QName |
getNodeName()
Get the node name.
|
boolean |
isWildcard()
Learn whether this is a wildcard test.
|
String |
toString() |
public NodeNameTest(QName qname)
qname
- name to matchpublic NodeNameTest(QName qname, String namespaceURI)
qname
- name to matchnamespaceURI
- uri to matchpublic QName getNodeName()
public String getNamespaceURI()
public boolean isWildcard()
true
if the node name is "*".Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.