protected class XMLDocumentScannerImpl.ContentDispatcher extends XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
Modifier | Constructor and Description |
---|---|
protected |
ContentDispatcher() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
elementDepthIsZeroHook()
Element depth iz zero.
|
protected void |
endOfFileHook(EOFException e)
End of file hook.
|
protected void |
resolveExternalSubsetAndRead()
Attempt to locate an external subset for a document that does not otherwise
have one.
|
protected boolean |
scanForDoctypeHook()
Scan for DOCTYPE hook.
|
protected boolean |
scanRootElementHook()
Scan for root element hook.
|
dispatch
protected boolean scanForDoctypeHook() throws IOException, XNIException
scanForDoctypeHook
in class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
IOException
XNIException
protected boolean elementDepthIsZeroHook() throws IOException, XNIException
elementDepthIsZeroHook
in class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
IOException
XNIException
protected boolean scanRootElementHook() throws IOException, XNIException
scanRootElementHook
in class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
IOException
XNIException
protected void endOfFileHook(EOFException e) throws IOException, XNIException
endOfFileHook
in class XMLDocumentFragmentScannerImpl.FragmentContentDispatcher
IOException
XNIException
protected void resolveExternalSubsetAndRead() throws IOException, XNIException
Attempt to locate an external subset for a document that does not otherwise have one. If an external subset is located, then it is scanned.
IOException
XNIException
Copyright © 2017 JBoss by Red Hat. All rights reserved.