Package org.alfresco.repo.search
Class NodeServiceXPath
java.lang.Object
org.jaxen.BaseXPath
org.alfresco.repo.search.NodeServiceXPath
- All Implemented Interfaces:
Serializable,org.jaxen.XPath
public class NodeServiceXPath
extends org.jaxen.BaseXPath
Represents an xpath statement that resolves against a
NodeService- Author:
- Andy Hind
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionNodeServiceXPath(String xpath, DocumentNavigator documentNavigator, QueryParameterDefinition[] paramDefs) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jaxen.FunctionContextselectNodes(Object arg0) Jaxen has some magic with its IdentitySet, which means that we can get different results depending on whether we cacheChildAssociationRefinstances or not.Methods inherited from class org.jaxen.BaseXPath
addNamespace, booleanValueOf, createNamespaceContext, createVariableContext, debug, evaluate, getContext, getContextSupport, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodesForContext, selectSingleNode, selectSingleNodeForContext, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf
-
Constructor Details
-
Method Details
-
selectNodes
Jaxen has some magic with its IdentitySet, which means that we can get different results depending on whether we cacheChildAssociationRefinstances or not.So, duplicates are eliminated here before the results are returned.
- Specified by:
selectNodesin interfaceorg.jaxen.XPath- Overrides:
selectNodesin classorg.jaxen.BaseXPath- Throws:
org.jaxen.JaxenException
-
createFunctionContext
protected org.jaxen.FunctionContext createFunctionContext()- Overrides:
createFunctionContextin classorg.jaxen.BaseXPath
-