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

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

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


Constructor Summary
(package private) XMLDocumentScanner.PrologDispatcher()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocumentScanner.PrologDispatcher

XMLDocumentScanner.PrologDispatcher()
Method Detail

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.