|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orbeon.oxf.pipeline.api.ProcessorDefinition
public class ProcessorDefinition
ProcessorDefinition encapsulate a processor name and its associated inputs. A ProcessorDefinition object can then be used to instantiate and run the given processor.
Constructor Summary | |
---|---|
ProcessorDefinition()
|
Method Summary | |
---|---|
void |
addInput(String name,
org.dom4j.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<String,Object> |
getEntries()
Return the configured mappings for the processor inputs. |
org.dom4j.QName |
getName()
Return the qualified name of the processor. |
void |
setName(org.dom4j.QName name)
Set the qualified name of the processor, for example "oxf:xslt". |
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(org.dom4j.QName name)
name
- the qualified name of the processorpublic 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, org.dom4j.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<String,Object> getEntries()
public org.dom4j.QName getName()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |