## org.apache.xerces.impl
Interface XMLDocumentFragmentScannerImpl.Dispatcher

All Known Implementing Classes:
  XMLDocumentFragmentScannerImpl.FragmentContentDispatcher, XMLDocumentScannerImpl.DTDDispatcher, XMLDocumentScannerImpl.PrologDispatcher, XMLDocumentScannerImpl.TrailingMiscDispatcher, XMLDocumentScannerImpl.XMLDeclDispatcher

Enclosing interface:
  XMLDocumentFragmentScannerImpl

protected static interface XMLDocumentFragmentScannerImpl.Dispatcher

This interface defines an XML "event" dispatching model. Classes that implement this interface are responsible for scanning parts of the XML document and dispatching callbacks.

Author:
  Glenn Marcy, IBM

Method Summary
`boolean` `dispatch(boolean complete)` Dispatch an XML "event".

Method Detail

### dispatch

    public boolean dispatch(boolean complete)
                     throws java.io.IOException,
                            org.apache.xerces.xni.XNIException

  Dispatch an XML "event".

  Parameters:
    `complete` - True if this dispatcher is intended to scan and dispatch as much as possible.
  Returns:
    True if there is more to dispatch either from this or a another dispatcher.
  Throws:
    `java.io.IOException` - Thrown on i/o error.
    `org.apache.xerces.xni.XNIException` - Thrown on parse error.

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.