protected final class

XML11NSDocumentScannerImpl.NS11ContentDispatcher

extends XMLDocumentScannerImpl.ContentDispatcher
java.lang.Object
   ↳ org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
     ↳ org.apache.xerces.impl.XMLDocumentScannerImpl.ContentDispatcher
       ↳ org.apache.xerces.impl.XML11NSDocumentScannerImpl.NS11ContentDispatcher

Class Overview

Dispatcher to handle content scanning.

Summary

Protected Constructors
XML11NSDocumentScannerImpl.NS11ContentDispatcher()
Protected Methods
boolean scanRootElementHook()
Scan for root element hook.
[Expand]
Inherited Methods
From class org.apache.xerces.impl.XMLDocumentScannerImpl.ContentDispatcher
From class org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
From class java.lang.Object
From interface org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.Dispatcher

Protected Constructors

protected XML11NSDocumentScannerImpl.NS11ContentDispatcher ()

Protected Methods

protected boolean scanRootElementHook ()

Scan for root element hook. This method is a hook for subclasses to add code that handles scanning for the root element. This method will also attempt to remove DTD validator from the pipeline, if there is no DTD grammar. If DTD validator is no longer in the pipeline bind namespaces in the scanner.

Returns
  • True if the caller should stop and return true which allows the scanner to switch to a new scanning dispatcher. A return value of false indicates that the content dispatcher should continue as normal.