org.argouml.uml.reveng.java
Class ClassifierContext
java.lang.Object
org.argouml.uml.reveng.java.Context
org.argouml.uml.reveng.java.ClassifierContext
- class ClassifierContext
- extends Context
This context is a specific classifier.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mClassifier
private Object mClassifier
- The classifier this context represents.
ClassifierContext
public ClassifierContext(Context base,
Object classifier)
- Create a new context from a classifier.
- Parameters:
base - Based on this context.classifier - Represents this classifier.
getInterface
public Object getInterface(String name)
throws ClassifierNotFoundException
- Specified by:
getInterface in class Context
- Throws:
ClassifierNotFoundException
get
public Object get(String classifierName)
throws ClassifierNotFoundException
- Get the classifier for a given name
- Specified by:
get in class Context
- Parameters:
classifierName - The name of the classifier to retrieve.
- Returns:
- A classifier for the name.
- Throws:
ClassifierNotFoundException
getJavaName
protected String getJavaName(Object mPackage)
- Get the complete java name for a package.
- Parameters:
mPackage - The package.
- Returns:
- Package name in java format
setContext
protected void setContext(Context c)
- Parameters:
c - The context to set.
getContext
protected Context getContext()
- Returns:
- Returns the context.