public static final class XProcInput.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(XProcPipelineInfo info)
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
XProcInput |
build()
Builds the input object
|
XProcInput.Builder |
withInput(String port,
com.google.common.base.Supplier<Source> source)
With input.
|
XProcInput.Builder |
withOption(QName name,
Object value)
With option.
|
XProcInput.Builder |
withParameter(String port,
QName name,
String value)
With parameter.
|
public Builder()
public Builder(XProcPipelineInfo info)
info
- the infopublic XProcInput.Builder withInput(String port, com.google.common.base.Supplier<Source> source)
port
- the portsource
- the sourcepublic XProcInput.Builder withOption(QName name, Object value)
name
- the namevalue
- the valuepublic XProcInput.Builder withParameter(String port, QName name, String value)
port
- the portname
- the namevalue
- the valuepublic XProcInput build()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.