public abstract class AbstractExpressionSlingQueryPipe extends AbstractSlingQueryPipe
afterHook, beforeHook, bindingProviders, bindings, distributionAgent, DRYRUN_EXPR, DRYRUN_KEY, EMPTY_ITERATOR, IGNORED_NODES, IGNORED_PROPERTIES, parent, plumber, PN_AFTERHOOK, PN_BEFOREHOOK, PN_STATUS, PN_STATUS_MODIFIED, properties, READ_ONLY, resolver, resource, RESOURCE_TYPE, RT_PREFIX, SLASH, STATUS_FINISHED, STATUS_STARTED
Modifier | Constructor and Description |
---|---|
protected |
AbstractExpressionSlingQueryPipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource,
PipeBindings upperBindings) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.sling.query.SlingQuery |
getQuery(org.apache.sling.api.resource.Resource resource)
generates a sling query object out of a resource
|
protected abstract org.apache.sling.query.SlingQuery |
getQuery(org.apache.sling.api.resource.Resource resource,
String expression)
generates a sling query object out of a resource and an expression
|
computeOutput, modifiesContent
after, before, getBindings, getComputedPath, getConfiguration, getDistributionAgent, getExpr, getInput, getName, getOutput, getOutputBinding, getParent, getPath, getPreviousPipe, getPreviousResource, getRawExpression, getRawPath, getResource, isDryRun, isRootPath, provideAdditionalBindings, setParent, toString
protected AbstractExpressionSlingQueryPipe(Plumber plumber, org.apache.sling.api.resource.Resource resource, PipeBindings upperBindings)
protected abstract org.apache.sling.query.SlingQuery getQuery(org.apache.sling.api.resource.Resource resource, String expression)
resource
- input resourceexpression
- pipe's expression configurationprotected org.apache.sling.query.SlingQuery getQuery(org.apache.sling.api.resource.Resource resource)
AbstractSlingQueryPipe
getQuery
in class AbstractSlingQueryPipe
resource
- input resourceCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.