Package org.jaxen.expr
Interface NameStep
-
- All Superinterfaces:
Predicated
,java.io.Serializable
,Step
- All Known Implementing Classes:
DefaultNameStep
public interface NameStep extends Step
Represents an XPath name test such aspara
orsvg:rect
. This is production 37 in the XPath 1.0 specification:[37] NameTest ::= '*' | NCName ':' '*' | QName
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLocalName()
Returns the local name of the matched nodejava.lang.String
getPrefix()
Returns the namespace prefix of the matched node.-
Methods inherited from interface org.jaxen.expr.Predicated
addPredicate, getPredicates, getPredicateSet
-
-
-
-
Method Detail
-
getPrefix
java.lang.String getPrefix()
Returns the namespace prefix of the matched node. This is the empty string for nodes in the default namespace.- Returns:
- the namespace prefix of the natched node
-
getLocalName
java.lang.String getLocalName()
Returns the local name of the matched node- Returns:
- the local name of the test
-
-