|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.language.java.generator.ParseState
This class handles information during the replacement of code pieces. One parse state for each classifier handled.
Constructor Summary | |
---|---|
ParseState(MNamespace mNamespace)
Create a new parse state. |
Method Summary | |
---|---|
java.util.Vector |
getAssociationEnds()
Get the association ends. |
MClassifier |
getClassifier()
Get the current classifier. |
MNamespace |
getNamespace()
Get the current namespace. |
java.util.Vector |
getNewFeatures()
Get all features not in the source. |
java.util.Vector |
getNewInnerClasses()
Get all inner classes not in the source. |
MClassifier |
newClassifier(java.lang.String name)
Tell the parse state that an inner classifier is found. |
void |
newFeature(MFeature mFeature)
Tell the parse state that a feature is found in the current classifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParseState(MNamespace mNamespace)
Method Detail |
public MClassifier newClassifier(java.lang.String name)
name
- The name of the classifier.
public void newFeature(MFeature mFeature)
mFeature
- The feature found.public MClassifier getClassifier()
public java.util.Vector getNewFeatures()
public java.util.Vector getNewInnerClasses()
public MNamespace getNamespace()
public java.util.Vector getAssociationEnds()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |