org.enhydra.apache.xerces.framework
Class XMLDocumentScanner.ContentDispatcher

java.lang.Object
  |
  +--org.enhydra.apache.xerces.framework.XMLDocumentScanner.ContentDispatcher
All Implemented Interfaces:
XMLDocumentScanner.ScannerDispatcher
Enclosing class:
XMLDocumentScanner

final class XMLDocumentScanner.ContentDispatcher
extends java.lang.Object
implements XMLDocumentScanner.ScannerDispatcher


Constructor Summary
(package private) XMLDocumentScanner.ContentDispatcher()
           
 
Method Summary
 boolean dispatch(boolean keepgoing)
          scan an XML syntactic component
 void endOfInput(int entityName, boolean moreToFollow)
          endOfInput encapsulates the end of entity handling for each dispatcher
(package private)  void popElementType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocumentScanner.ContentDispatcher

XMLDocumentScanner.ContentDispatcher()
Method Detail

popElementType

void popElementType()

dispatch

public boolean dispatch(boolean keepgoing)
                 throws java.lang.Exception
Description copied from interface: XMLDocumentScanner.ScannerDispatcher
scan an XML syntactic component

Specified by:
dispatch in interface XMLDocumentScanner.ScannerDispatcher
Parameters:
keepgoing - if true continue on to the next dispatcher, otherwise return
Returns:
true if scanning was successful //REVISIT - does it ever return false or does it just throw?
Throws:
java.lang.Exception

endOfInput

public void endOfInput(int entityName,
                       boolean moreToFollow)
                throws java.lang.Exception
Description copied from interface: XMLDocumentScanner.ScannerDispatcher
endOfInput encapsulates the end of entity handling for each dispatcher

Specified by:
endOfInput in interface XMLDocumentScanner.ScannerDispatcher
Parameters:
entityName - StringPool handle of the entity that has reached the end
moreToFollow - true if there is more input to be read
java.lang.Exception


Copyright © 1999 The Apache Software Foundation. All Rights reserved.