|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaxen.BaseXPath
org.alfresco.repo.search.NodeServiceXPath
public class NodeServiceXPath
Represents an xpath statement that resolves against a
NodeService
| Nested Class Summary | |
|---|---|
static class |
NodeServiceXPath.FirstFunction
|
static class |
NodeServiceXPath.JCRPatternMatch
|
static class |
NodeServiceXPath.XPathFunctionContext
|
| Constructor Summary | |
|---|---|
NodeServiceXPath(java.lang.String xpath,
DocumentNavigator documentNavigator,
org.alfresco.service.cmr.search.QueryParameterDefinition[] paramDefs)
|
|
| Method Summary | |
|---|---|
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. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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 xpath
org.jaxen.JaxenException| Method Detail |
|---|
public 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.BaseXPath
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||