org.apache.xerces.impl
protected class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher extends Object implements XMLDocumentFragmentScannerImpl.Dispatcher
Method Summary | |
---|---|
boolean | dispatch(boolean complete)
Dispatch an XML "event".
|
protected boolean | elementDepthIsZeroHook()
Element depth iz zero. |
protected void | endOfFileHook(EOFException e)
End of file hook. |
protected boolean | scanForDoctypeHook()
Scan for DOCTYPE hook. |
protected boolean | scanRootElementHook()
Scan for root element hook. |
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.
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.
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.