|
||||||||||||
| 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.
| Field Summary | |
|---|---|
private java.lang.Object |
mClassifier
The current classifier |
private java.lang.Object |
namespace
The current namespace. |
private java.util.Vector |
newFeatures
The features not found yet |
private java.util.Vector |
newInnerClasses
The inner classes not found yet |
| Constructor Summary | |
|---|---|
ParseState(java.lang.Object handle)
Create a new parse state. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getAssociationEnds()
Get the association ends. |
java.lang.Object |
getClassifier()
Get the current classifier. |
java.lang.Object |
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. |
java.lang.Object |
newClassifier(java.lang.String name)
Tell the parse state that an inner classifier is found. |
void |
newFeature(java.lang.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 java.lang.Object namespace
private java.util.Vector newInnerClasses
private java.util.Vector newFeatures
private java.lang.Object mClassifier
| Constructor Detail |
public ParseState(java.lang.Object handle)
handle - is the namespace the classifier belongs to.| Method Detail |
public java.lang.Object newClassifier(java.lang.String name)
name - The name of the classifier.
public void newFeature(java.lang.Object mFeature)
mFeature - The feature found.public java.lang.Object getClassifier()
public java.util.Vector getNewFeatures()
public java.util.Vector getNewInnerClasses()
public java.lang.Object getNamespace()
public java.util.Vector getAssociationEnds()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |