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, simplifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaxisIterator, getAxis, simplifyaddPredicate, getPredicates, getPredicateSetpublic 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 インタフェース内 NameSteppublic boolean isMatchesAnyName()
public String getText()
getText インタフェース内 StepgetText クラス内 DefaultSteppublic List evaluate(Context context) throws JaxenException
This method overrides the version in DefaultStep for performance.
evaluate インタフェース内 Stepevaluate クラス内 DefaultStepJaxenExceptionpublic boolean matches(Object node, ContextSupport contextSupport) throws JaxenException
matches インタフェース内 Stepnode - the node to checkcontextSupport - the context supportJaxenExceptionprotected boolean matchesNamespaceURIs(String uri1, String uri2)
uri1 - the first URIuri2 - the second URIpublic String toString()
toString クラス内 DefaultStepCopyright © 2001-2013 Codehaus. All Rights Reserved.