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, org.apache.xerces.xni.XNIException
dispatch
in interface XMLDocumentFragmentScannerImpl.Dispatcher
complete
- True if this dispatcher is intended to scan
and dispatch as much as possible.java.io.IOException
- Thrown on i/o error.org.apache.xerces.xni.XNIException
- Thrown on parse error.protected boolean scanForDoctypeHook() throws java.io.IOException, org.apache.xerces.xni.XNIException
java.io.IOException
org.apache.xerces.xni.XNIException
protected boolean elementDepthIsZeroHook() throws java.io.IOException, org.apache.xerces.xni.XNIException
java.io.IOException
org.apache.xerces.xni.XNIException
protected boolean scanRootElementHook() throws java.io.IOException, org.apache.xerces.xni.XNIException
java.io.IOException
org.apache.xerces.xni.XNIException
protected void endOfFileHook(java.io.EOFException e) throws java.io.IOException, org.apache.xerces.xni.XNIException
java.io.IOException
org.apache.xerces.xni.XNIException
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.