protected class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher extends Object implements XMLDocumentFragmentScannerImpl.Dispatcher
Modifier | Constructor and Description |
---|---|
protected |
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(EOFException e)
End of file hook.
|
protected boolean |
scanForDoctypeHook()
Scan for DOCTYPE hook.
|
protected boolean |
scanRootElementHook()
Scan for root element hook.
|
public boolean dispatch(boolean complete) throws IOException, XNIException
dispatch
in interface XMLDocumentFragmentScannerImpl.Dispatcher
complete
- True if this dispatcher is intended to scan
and dispatch as much as possible.IOException
- Thrown on i/o error.XNIException
- Thrown on parse error.protected boolean scanForDoctypeHook() throws IOException, XNIException
IOException
XNIException
protected boolean elementDepthIsZeroHook() throws IOException, XNIException
IOException
XNIException
protected boolean scanRootElementHook() throws IOException, XNIException
IOException
XNIException
protected void endOfFileHook(EOFException e) throws IOException, XNIException
IOException
XNIException
Copyright © 2018 JBoss by Red Hat. All rights reserved.