public class DefaultNameStep extends DefaultStep implements NameStep
This includes simple steps, such as "foo", non-default-axis steps, such as "following-sibling::foo" or "@foo", and namespace-aware steps, such as "foo:bar".
コンストラクタと説明 |
---|
DefaultNameStep(IterableAxis axis,
String prefix,
String localName,
PredicateSet predicateSet)
非推奨です。
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
List |
evaluate(Context context)
非推奨です。
Evaluate the context node set to find the new node set.
|
String |
getLocalName()
非推奨です。
Gets the local name.
|
String |
getPrefix()
非推奨です。
Gets the namespace prefix.
|
String |
getText()
非推奨です。
Gets the step as a fully defined XPath.
|
boolean |
isMatchesAnyName()
非推奨です。
Does this step match any name?
|
boolean |
matches(Object node,
ContextSupport contextSupport)
非推奨です。
Checks whether the node matches this step.
|
protected boolean |
matchesNamespaceURIs(String uri1,
String uri2)
非推奨です。
Compares two namespace URIs, handling null.
|
String |
toString()
非推奨です。
Returns a full information debugging string.
|
addPredicate, axisIterator, getAxis, getAxisName, getIterableAxis, getPredicates, getPredicateSet, simplify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
axisIterator, getAxis, simplify
addPredicate, getPredicates, getPredicateSet
public DefaultNameStep(IterableAxis axis, String prefix, String localName, PredicateSet predicateSet)
axis
- the axis to work throughprefix
- the name prefixlocalName
- the local namepredicateSet
- the set of predicatespublic String getPrefix()
public String getLocalName()
getLocalName
インタフェース内 NameStep
public boolean isMatchesAnyName()
public String getText()
getText
インタフェース内 Step
getText
クラス内 DefaultStep
public List evaluate(Context context) throws JaxenException
This method overrides the version in DefaultStep
for performance.
evaluate
インタフェース内 Step
evaluate
クラス内 DefaultStep
JaxenException
public boolean matches(Object node, ContextSupport contextSupport) throws JaxenException
matches
インタフェース内 Step
node
- the node to checkcontextSupport
- the context supportJaxenException
protected boolean matchesNamespaceURIs(String uri1, String uri2)
uri1
- the first URIuri2
- the second URIpublic String toString()
toString
クラス内 DefaultStep
Copyright © 2001-2013 Codehaus. All Rights Reserved.