org.jaxen.expr
Interface NameStep
- Predicated, Serializable, Step
- DefaultNameStep
public interface NameStep
Represents an XPath name test such as
para
or
svg:rect
. This is production 37 in the
XPath 1.0 specification:
[37] NameTest ::= '*'
| NCName ':' '*'
| QName
String | getLocalName() - Returns the local name of the matched node
|
String | getPrefix() - Returns the namespace prefix of the matched node.
|
getLocalName
public String getLocalName()
Returns the local name of the matched node
- the local name of the test
getPrefix
public String getPrefix()
Returns the namespace prefix of the matched node. This is the empty
string for nodes in the default namespace.
- the namespace prefix of the natched node