|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The main loop of the scanner is implemented by calling the dispatch method of ScannerDispatcher with a flag which tells the dispatcher whether to continue or return. The scanner logic is split up into dispatchers for various syntatic components of XML. //REVISIT more rationale needed
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 |
Method Detail |
public boolean dispatch(boolean keepgoing) throws java.lang.Exception
keepgoing
- if true continue on to the next dispatcher, otherwise return
java.lang.Exception
public void endOfInput(int entityName, boolean moreToFollow) throws java.lang.Exception
entityName
- StringPool handle of the entity that has reached the endmoreToFollow
- true if there is more input to be read
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |