public class ProcessorFactory extends WithDiagnostics
DataProcessor's, used for parsing data
Do not use the ProcessorFactry constructor to create a ProcessorFactory.
Instead, use Compiler.compileFile(java.io.File)
| Constructor and Description |
|---|
ProcessorFactory(org.apache.daffodil.compiler.ProcessorFactory pf) |
| Modifier and Type | Method and Description |
|---|---|
DataProcessor |
onPath(java.lang.String path)
Create a
DataProcessor |
void |
setDistinguishedRootNode(java.lang.String name,
java.lang.String namespace)
Specify a global element to be the root of DFDL Schema to start parsing
|
canProceed, getDiagnostics, isErrorpublic ProcessorFactory(org.apache.daffodil.compiler.ProcessorFactory pf)
public DataProcessor onPath(java.lang.String path)
DataProcessor
path - path to an element to use as the parsing root, relative to the distinguished root node. Currently, must be set to "/"DataProcessor used to parse data. Must check WithDiagnostics.isError() before using it.public void setDistinguishedRootNode(java.lang.String name,
java.lang.String namespace)
name - name of the root nodenamespace - namespace of the root node. Set to empty string to specify
no namespace. Set to to NULL to figure out the namespace.