org.kabeja.processing
Class ProcessingManager
java.lang.Object
org.kabeja.processing.ProcessingManager
public class ProcessingManager
- extends java.lang.Object
- Author:
- Simon Mieth
Method Summary |
void |
addParser(Parser parser)
|
void |
addPostProcessor(PostProcessor pp,
java.lang.String name)
|
void |
addProcessingListener(ProcessingListener l)
|
void |
addProcessPipeline(ProcessPipeline pp)
|
void |
addSAXFilter(SAXFilter filter,
java.lang.String name)
|
void |
addSAXGenerator(SAXGenerator saxgenerator,
java.lang.String name)
|
void |
addSAXSerializer(SAXSerializer serializer,
java.lang.String name)
|
protected Parser |
getParser(java.lang.String extension)
|
java.util.List |
getParsers()
|
PostProcessor |
getPostProcessor(java.lang.String name)
|
java.util.Map |
getPostProcessors()
|
ProcessPipeline |
getProcessPipeline(java.lang.String name)
|
java.util.Map |
getProcessPipelines()
|
SAXFilter |
getSAXFilter(java.lang.String name)
|
java.util.Map |
getSAXFilters()
|
SAXGenerator |
getSAXGenerator(java.lang.String name)
|
java.util.Map |
getSAXGenerators()
|
SAXSerializer |
getSAXSerializer(java.lang.String name)
|
java.util.Map |
getSAXSerializers()
|
void |
process(DXFDocument doc,
java.util.Map context,
java.lang.String pipeline,
java.io.OutputStream out)
|
void |
process(DXFDocument doc,
java.util.Map context,
java.lang.String pipeline,
java.lang.String sourceFile)
|
void |
process(java.io.InputStream stream,
java.lang.String extension,
java.util.Map context,
java.lang.String pipeline,
java.io.OutputStream out)
|
void |
removeProcessingListener(ProcessingListener l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessingManager
public ProcessingManager()
addSAXFilter
public void addSAXFilter(SAXFilter filter,
java.lang.String name)
getSAXFilter
public SAXFilter getSAXFilter(java.lang.String name)
getSAXFilters
public java.util.Map getSAXFilters()
addSAXSerializer
public void addSAXSerializer(SAXSerializer serializer,
java.lang.String name)
getSAXSerializer
public SAXSerializer getSAXSerializer(java.lang.String name)
getSAXSerializers
public java.util.Map getSAXSerializers()
addPostProcessor
public void addPostProcessor(PostProcessor pp,
java.lang.String name)
addParser
public void addParser(Parser parser)
getParsers
public java.util.List getParsers()
getParser
protected Parser getParser(java.lang.String extension)
getPostProcessor
public PostProcessor getPostProcessor(java.lang.String name)
getPostProcessors
public java.util.Map getPostProcessors()
addProcessPipeline
public void addProcessPipeline(ProcessPipeline pp)
getProcessPipeline
public ProcessPipeline getProcessPipeline(java.lang.String name)
getProcessPipelines
public java.util.Map getProcessPipelines()
process
public void process(java.io.InputStream stream,
java.lang.String extension,
java.util.Map context,
java.lang.String pipeline,
java.io.OutputStream out)
throws ProcessorException
- Throws:
ProcessorException
process
public void process(DXFDocument doc,
java.util.Map context,
java.lang.String pipeline,
java.io.OutputStream out)
throws ProcessorException
- Throws:
ProcessorException
process
public void process(DXFDocument doc,
java.util.Map context,
java.lang.String pipeline,
java.lang.String sourceFile)
throws ProcessorException
- Throws:
ProcessorException
addSAXGenerator
public void addSAXGenerator(SAXGenerator saxgenerator,
java.lang.String name)
getSAXGenerator
public SAXGenerator getSAXGenerator(java.lang.String name)
getSAXGenerators
public java.util.Map getSAXGenerators()
addProcessingListener
public void addProcessingListener(ProcessingListener l)
removeProcessingListener
public void removeProcessingListener(ProcessingListener l)