|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.objectwave.sourceParser.MethodDefParser
Used to parse java source code for methods.
| Nested Class Summary | |
static class |
MethodDefParser.Test
|
| Constructor Summary | |
MethodDefParser()
|
|
| Method Summary | |
void |
defineArguments(java.lang.StringBuffer buff,
java.io.Reader rdr)
Today the arguments simply define what type of objects this method is going to deal with. |
void |
finishParsing(java.lang.StringBuffer buf,
java.lang.String[] identifier,
java.io.Reader rdr)
At the point this method is called, the parser has identified the method up to the opening '(' character. |
ClassElement |
getDataObject()
When we have finished parsing, the resulting ClassElement returned by getDataObject should represent our meta-model of that element. |
boolean |
isMyArea(java.lang.String identifier)
When parsing source code we never know what ClassElement will be next, so we ask all possible class elements isMyArea(String) for one of them to say yes. |
boolean |
settingIdentifier(java.lang.String str)
While determining if this is the correct parser to use, we need to gather information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MethodDefParser()
| Method Detail |
public void defineArguments(java.lang.StringBuffer buff,
java.io.Reader rdr)
throws java.io.IOException
buff - rdr -
java.io.IOException
public void finishParsing(java.lang.StringBuffer buf,
java.lang.String[] identifier,
java.io.Reader rdr)
throws java.io.IOException
finishParsing in interface ClassParserbuf - identifier - rdr -
java.io.IOExceptionpublic ClassElement getDataObject()
ClassParser
getDataObject in interface ClassParserpublic boolean isMyArea(java.lang.String identifier)
isMyArea in interface ClassParseridentifier -
finishParsing(java.lang.StringBuffer, java.lang.String[], java.io.Reader)public boolean settingIdentifier(java.lang.String str)
str -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||