PSVIConfigurationpublic class PSVIConfiguration extends org.apache.xerces.parsers.XIncludeAwareParserConfiguration This is the DTD/ XML Schema parser configuration that includes PSVIWriter component.
The document will be fully assessed and will produce PSVI as required by XML Schema specification
configuration including XML Schema Validator in the pipeline. |
Fields Summary |
---|
protected xni.PSVIWriter | fPSVIWriterPSVI Writer |
Constructors Summary |
---|
public PSVIConfiguration()Constructs a document parser using the default symbol table and grammar
pool or the ones specified by the application (through the properties).
this(null, null);
| public PSVIConfiguration(org.apache.xerces.util.SymbolTable symbolTable)Constructs a document parser using the specified symbol table.
this(symbolTable, null);
| public PSVIConfiguration(org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)Constructs a document parser using the specified symbol table and
grammar pool.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
this(symbolTable, grammarPool, null);
| public PSVIConfiguration(org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool, org.apache.xerces.xni.parser.XMLComponentManager parentSettings)Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
super(symbolTable, grammarPool, parentSettings);
fPSVIWriter = createPSVIWriter();
if (fPSVIWriter != null) {
addCommonComponent(fPSVIWriter);
}
|
Methods Summary |
---|
protected void | addPSVIWriterToPipeline()Adds PSVI writer to the pipeline.
if (fSchemaValidator != null) {
fSchemaValidator.setDocumentHandler(fPSVIWriter);
fPSVIWriter.setDocumentSource(fSchemaValidator);
fPSVIWriter.setDocumentHandler(fDocumentHandler);
if (fDocumentHandler != null) {
fDocumentHandler.setDocumentSource(fPSVIWriter);
}
}
| protected void | configurePipeline()Configures the pipeline.
super.configurePipeline();
addPSVIWriterToPipeline();
| protected void | configureXML11Pipeline()Configures the XML 1.1 pipeline.
super.configureXML11Pipeline();
addPSVIWriterToPipeline();
| protected xni.PSVIWriter | createPSVIWriter()Create a PSVIWriter
return new PSVIWriter();
|
|