Interface XMLDocumentFragmentScannerImpl.Dispatcher
-
- All Known Implementing Classes:
XML11NSDocumentScannerImpl.NS11ContentDispatcher
,XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
,XMLDocumentScannerImpl.ContentDispatcher
,XMLDocumentScannerImpl.DTDDispatcher
,XMLDocumentScannerImpl.PrologDispatcher
,XMLDocumentScannerImpl.TrailingMiscDispatcher
,XMLDocumentScannerImpl.XMLDeclDispatcher
,XMLNSDocumentScannerImpl.NSContentDispatcher
- Enclosing class:
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
dispatch(boolean complete)
Dispatch an XML "event".
-
-
-
Method Detail
-
dispatch
boolean dispatch(boolean complete) throws IOException, 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:
IOException
- Thrown on i/o error.XNIException
- Thrown on parse error.
-
-