public class NodeServiceXPath
extends org.jaxen.BaseXPath
NodeService
Modifier and Type | Class and Description |
---|---|
static class |
NodeServiceXPath.FirstFunction |
static class |
NodeServiceXPath.JCRPatternMatch |
static class |
NodeServiceXPath.XPathFunctionContext |
Constructor and Description |
---|
NodeServiceXPath(String xpath,
DocumentNavigator documentNavigator,
org.alfresco.service.cmr.search.QueryParameterDefinition[] paramDefs) |
Modifier and Type | Method and Description |
---|---|
protected org.jaxen.FunctionContext |
createFunctionContext() |
List |
selectNodes(Object arg0)
Jaxen has some magic with its IdentitySet, which means that we can get different results
depending on whether we cache
ChildAssociationRef instances or not. |
addNamespace, booleanValueOf, createNamespaceContext, createVariableContext, debug, evaluate, getContext, getContextSupport, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodesForContext, selectSingleNode, selectSingleNodeForContext, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf
public NodeServiceXPath(String xpath, DocumentNavigator documentNavigator, org.alfresco.service.cmr.search.QueryParameterDefinition[] paramDefs) throws org.jaxen.JaxenException
xpath
- the xpath statementdocumentNavigator
- the navigator that will allow the xpath to be resolvedparamDefs
- parameters to resolve variables required by xpathorg.jaxen.JaxenException
public List selectNodes(Object arg0) throws org.jaxen.JaxenException
ChildAssociationRef
instances or not.
So, duplicates are eliminated here before the results are returned.
selectNodes
in interface org.jaxen.XPath
selectNodes
in class org.jaxen.BaseXPath
org.jaxen.JaxenException
protected org.jaxen.FunctionContext createFunctionContext()
createFunctionContext
in class org.jaxen.BaseXPath
Copyright © 2005–2017 Alfresco Software. All rights reserved.