org.weborganic.ox.core
Class Pipeline

java.lang.Object
  extended by org.weborganic.ox.core.Pipeline
All Implemented Interfaces:
XMLWritable

public final class Pipeline
extends Object
implements XMLWritable

Defines an pipeline (a concept borrowed from xproc)

Version:
16 December 2013
Author:
Christophe Lauret

Constructor Summary
Pipeline(String name, String accepts)
           
 
Method Summary
 String accepts()
           
 String name()
           
 void toXML(XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pipeline

public Pipeline(String name,
                String accepts)
Method Detail

name

public String name()
Returns:
The name of this pipeline.

accepts

public String accepts()
Returns:
The media type that this pipeline accepts.

toXML

public void toXML(XMLWriter xml)
           throws IOException
Specified by:
toXML in interface XMLWritable
Throws:
IOException