|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.language.java.generator.ParseState
This class handles information during the replacement of code pieces. One parse state for each classifier handled.
Field Summary | |
private Object |
mClassifier
The current classifier. |
private Object |
namespace
The current namespace. |
private Vector |
newFeatures
The features not found yet. |
private Vector |
newInnerClasses
The inner classes not found yet. |
Constructor Summary | |
ParseState(Object handle)
Create a new parse state. |
Method Summary | |
Vector |
getAssociationEnds()
Get the association ends. |
Object |
getClassifier()
Get the current classifier. |
Object |
getNamespace()
Get the current namespace. |
Vector |
getNewFeatures()
Get all features not in the source. |
Vector |
getNewInnerClasses()
Get all inner classes not in the source. |
Object |
newClassifier(String name)
Tell the parse state that an inner classifier is found. |
void |
newFeature(Object 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 |
Field Detail |
private Object namespace
private Vector newInnerClasses
private Vector newFeatures
private Object mClassifier
Constructor Detail |
public ParseState(Object handle)
handle
- is the namespace the classifier belongs to.Method Detail |
public Object newClassifier(String name)
name
- The name of the classifier.
public void newFeature(Object mFeature)
mFeature
- The feature found.public Object getClassifier()
public Vector getNewFeatures()
public Vector getNewInnerClasses()
public Object getNamespace()
public Vector getAssociationEnds()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |