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.IOException
public int next() throws java.io.IOException, org.apache.xerces.xni.XNIException
next
in interface XMLDocumentFragmentScannerImpl.Driver
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 ? 2002-2003 Apache XML Project. All Rights Reserved.