|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orbeon.oxf.pipeline.api.ProcessorDefinition
ProcessorDefinition encapsulate a processor name and its associated inputs. A ProcessorDefinition object can then be used to instanciate and run the given processor.
Constructor Summary | |
ProcessorDefinition()
|
Method Summary | |
void |
addInput(String name,
Element element)
Add an input with the given name and dom4j Element. |
void |
addInput(String name,
org.orbeon.saxon.om.NodeInfo nodeInfo)
Add an input with the given name and TinyTree node. |
void |
addInput(String name,
String url)
Add an input with the given name and URL. |
Map |
getEntries()
Return the configured mappings for the processor inputs. |
QName |
getName()
Return the qualified name of the processor. |
String |
getUri()
Deprecated. |
void |
setName(QName name)
Set the qualified name of the processor, for example "oxf:xslt". |
void |
setUri(String uri)
Deprecated. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProcessorDefinition()
Method Detail |
public void setName(QName name)
name
- the qualified name of the processorpublic void setUri(String uri)
public void addInput(String name, String url)
name
- the name of the input, for example "config"url
- the URL that will be connected to the input, for example "oxf:/my-file.xml"public void addInput(String name, Element element)
name
- the name of the input, for example "config"element
- the dom4j Element containing the XML document connected to the inputpublic void addInput(String name, org.orbeon.saxon.om.NodeInfo nodeInfo)
name
- the name of the input, for example "config"nodeInfo
- the TinyTree node containing the XML document connected to the inputpublic Map getEntries()
public QName getName()
public String getUri()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |