Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACEDELIMITER
namespace delimiter
|
static XPathNameTest |
WILDCARD
prebuilt object containing the unbounded wildcard
|
Constructor and Description |
---|
XPathNameTest(String iSuffix,
boolean iSuffixIsWildcard)
basic constructor
|
XPathNameTest(String iPrefix,
String iSuffix,
boolean iSuffixIsWildcard)
basic constructor
|
Modifier and Type | Method and Description |
---|---|
NodeTestType |
getType()
returns the type associated with this node test
|
String |
getValue()
returns the value of the node test encoded as a
String object |
boolean |
hasPrefix()
returns
true if the XPath name test has a prefix; false otherwise |
boolean |
isSuffixWildcard()
returns
true if the suffix is the XPath name test wildcard ('*'); false otherwise |
public static final String NAMESPACEDELIMITER
public static final XPathNameTest WILDCARD
public XPathNameTest(String iSuffix, boolean iSuffixIsWildcard)
iSuffix
- the value of the suffix as a String
iSuffixIsWildcard
- true
if the suffix is the XPath name test wildcard ('*'); false otherwisepublic XPathNameTest(String iPrefix, String iSuffix, boolean iSuffixIsWildcard)
iPrefix
- the value of the prefix as a String
iSuffix
- the value of the suffix as a String
iSuffixIsWildcard
- true
if the suffix is the XPath name test wildcard ('*'); false otherwisepublic boolean hasPrefix()
true
if the XPath name test has a prefix; false
otherwisetrue
if the XPath name test has a prefix; false
otherwisepublic boolean isSuffixWildcard()
true
if the suffix is the XPath name test wildcard ('*'); false otherwisetrue
if the suffix is the XPath name test wildcard ('*'); false otherwisepublic String getValue()
String
objectpublic NodeTestType getType()
Copyright © 2020 OXPath Team. All rights reserved.