protected class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher extends java.lang.Object implements XMLDocumentFragmentScannerImpl.Dispatcher
| Modifier | Constructor and Description |
|---|---|
protected |
XMLDocumentFragmentScannerImpl.FragmentContentDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(boolean complete)
Dispatch an XML "event".
|
protected boolean |
elementDepthIsZeroHook()
Element depth iz zero.
|
protected void |
endOfFileHook(java.io.EOFException e)
End of file hook.
|
protected boolean |
scanForDoctypeHook()
Scan for DOCTYPE hook.
|
protected boolean |
scanRootElementHook()
Scan for root element hook.
|
protected XMLDocumentFragmentScannerImpl.FragmentContentDispatcher()
public boolean dispatch(boolean complete)
throws java.io.IOException,
XNIException
dispatch in interface XMLDocumentFragmentScannerImpl.Dispatchercomplete - True if this dispatcher is intended to scan
and dispatch as much as possible.java.io.IOException - Thrown on i/o error.XNIException - Thrown on parse error.protected boolean scanForDoctypeHook()
throws java.io.IOException,
XNIException
java.io.IOExceptionXNIExceptionprotected boolean elementDepthIsZeroHook()
throws java.io.IOException,
XNIException
java.io.IOExceptionXNIExceptionprotected boolean scanRootElementHook()
throws java.io.IOException,
XNIException
java.io.IOExceptionXNIExceptionprotected void endOfFileHook(java.io.EOFException e)
throws java.io.IOException,
XNIException
java.io.IOExceptionXNIException