|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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(ru.novosoft.uml.foundation.core.MClassifier mClassifier)
Create a new parse state. |
|
ParseState(ru.novosoft.uml.foundation.core.MNamespace mNamespace)
Create a new parse state. |
Method Summary | |
java.util.Vector |
getAssociationEnds()
Get the association ends. |
ru.novosoft.uml.foundation.core.MClassifier |
getClassifier()
Get the current classifier. |
ru.novosoft.uml.foundation.core.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. |
ru.novosoft.uml.foundation.core.MClassifier |
newClassifier(java.lang.String name)
Tell the parse state that an inner classifier is found. |
void |
newFeature(ru.novosoft.uml.foundation.core.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(ru.novosoft.uml.foundation.core.MNamespace mNamespace)
The
- namespace the classifier belongs to.public ParseState(ru.novosoft.uml.foundation.core.MClassifier mClassifier)
mClassifier
- Current classifier.Method Detail |
public ru.novosoft.uml.foundation.core.MClassifier newClassifier(java.lang.String name)
name
- The name of the classifier.public void newFeature(ru.novosoft.uml.foundation.core.MFeature mFeature)
mFeature
- The feature found.public ru.novosoft.uml.foundation.core.MClassifier getClassifier()
public java.util.Vector getNewFeatures()
public java.util.Vector getNewInnerClasses()
public ru.novosoft.uml.foundation.core.MNamespace getNamespace()
public java.util.Vector getAssociationEnds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML (c) 1996-2002 |