FileDocCategorySizeDatePackage
NonValidatingParserConfiguration.javaAPI DocApache Xerces 3.0.13053Fri Sep 14 20:33:58 BST 2007xni.parser

NonValidatingParserConfiguration

public class NonValidatingParserConfiguration extends org.apache.xerces.parsers.StandardParserConfiguration
Non-validating parser configuration.
see
XMLComponent
see
XMLParserConfiguration
author
Andy Clark, IBM
version
$Id: NonValidatingParserConfiguration.java 447690 2006-09-19 02:41:53Z mrglavas $

Fields Summary
protected org.apache.xerces.impl.XMLNamespaceBinder
fNamespaceBinder
Namespace binder.
Constructors Summary
public NonValidatingParserConfiguration()
Constructs a document parser using the default symbol table and grammar pool or the ones specified by the application (through the properties).


        // create and register missing components
        fNamespaceBinder = new XMLNamespaceBinder();
        addComponent(fNamespaceBinder);

    
Methods Summary
protected voidconfigurePipeline()
Configures the pipeline.


        // REVISIT: This should be better designed. In other words, we
        //          need to figure out what is the best way for people to
        //          re-use *most* of the standard configuration but do 
        //          common things such as remove a component (e.g.the
        //          validator), insert a new component (e.g. XInclude), 
        //          etc... -Ac

        // setup document pipeline
        fScanner.setDocumentHandler(fNamespaceBinder);
        fNamespaceBinder.setDocumentHandler(fDocumentHandler);
        fNamespaceBinder.setDocumentSource(fScanner);

    
protected org.apache.xerces.impl.dtd.XMLDTDValidatorcreateDTDValidator()
Create a null validator.

        return null;