public abstract class AbstractInputStreamPipe extends BasePipe
Modifier and Type | Field and Description |
---|---|
protected Object |
binding |
static Object |
BINDING_IS |
String |
REMOTE_START |
protected Pattern |
VALID_PATH |
afterHook, beforeHook, bindingProviders, bindings, distributionAgent, DRYRUN_EXPR, DRYRUN_KEY, dryRunObject, EMPTY_ITERATOR, 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
Constructor and Description |
---|
AbstractInputStreamPipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource,
PipeBindings upperBindings) |
Modifier and Type | Method and Description |
---|---|
Iterator<org.apache.sling.api.resource.Resource> |
computeOutput() |
abstract Iterator<org.apache.sling.api.resource.Resource> |
getOutput(InputStream inputStream) |
Object |
getOutputBinding()
returns the binding output used in container pipe's expression
|
after, before, getBindings, getComputedPath, getConfiguration, getDistributionAgent, getExpr, getInput, getName, getOutput, getParent, getPath, getPreviousPipe, getPreviousResource, getRawExpression, getRawPath, getResource, isDryRun, isRootPath, modifiesContent, provideAdditionalBindings, setParent, toString
public final String REMOTE_START
protected final Pattern VALID_PATH
public static final Object BINDING_IS
protected Object binding
public AbstractInputStreamPipe(Plumber plumber, org.apache.sling.api.resource.Resource resource, PipeBindings upperBindings) throws Exception
Exception
public Object getOutputBinding()
Pipe
getOutputBinding
in interface Pipe
getOutputBinding
in class BasePipe
public abstract Iterator<org.apache.sling.api.resource.Resource> getOutput(InputStream inputStream) throws Exception
Exception
public Iterator<org.apache.sling.api.resource.Resource> computeOutput() throws Exception
computeOutput
in class BasePipe
ScriptException
- if any exception has occuredException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.