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(java.lang.String xpath,
DocumentNavigator documentNavigator,
org.alfresco.service.cmr.search.QueryParameterDefinition[] paramDefs) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jaxen.FunctionContext |
createFunctionContext() |
java.util.List |
selectNodes(java.lang.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, valueOfpublic NodeServiceXPath(java.lang.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.JaxenExceptionpublic java.util.List selectNodes(java.lang.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.XPathselectNodes in class org.jaxen.BaseXPathorg.jaxen.JaxenExceptionprotected org.jaxen.FunctionContext createFunctionContext()
createFunctionContext in class org.jaxen.BaseXPathCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.