protected class XMLDocumentFragmentScannerImpl.FragmentContentDriver extends java.lang.Object implements XMLDocumentFragmentScannerImpl.Driver
| Modifier | Constructor and Description |
|---|---|
protected |
XMLDocumentFragmentScannerImpl.FragmentContentDriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
decideSubState()
SCANNER_STATE_CONTENT and SCANNER_STATE_START_OF_MARKUP are two super states of the parser.
|
protected boolean |
elementDepthIsZeroHook()
Element depth iz zero.
|
protected void |
endOfFileHook(java.io.EOFException e)
End of file hook.
|
int |
next()
Drives the parser to the next state/event on the input.
|
protected boolean |
scanForDoctypeHook()
Scan for DOCTYPE hook.
|
protected boolean |
scanRootElementHook()
Scan for root element hook.
|
protected XMLDocumentFragmentScannerImpl.FragmentContentDriver()
public void decideSubState()
throws java.io.IOException
java.io.IOExceptionpublic int next()
throws java.io.IOException,
org.apache.xerces.xni.XNIException
next in interface XMLDocumentFragmentScannerImpl.Driverjava.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.IOExceptionorg.apache.xerces.xni.XNIExceptionprotected boolean elementDepthIsZeroHook()
throws java.io.IOException,
org.apache.xerces.xni.XNIException
java.io.IOExceptionorg.apache.xerces.xni.XNIExceptionprotected boolean scanRootElementHook()
throws java.io.IOException,
org.apache.xerces.xni.XNIException
java.io.IOExceptionorg.apache.xerces.xni.XNIExceptionprotected void endOfFileHook(java.io.EOFException e)
throws java.io.IOException,
org.apache.xerces.xni.XNIException
java.io.IOExceptionorg.apache.xerces.xni.XNIExceptionCopyright ? 2002-2003 Apache XML Project. All Rights Reserved.