|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.tools.MetaModel
Used to parse objects into the objectwave source model.
Constructor Summary | |
MetaModel()
|
Method Summary | |
ClassSpec |
getClassSpec(ClassElement[] els)
A helper routine to get the class spec in the collection of ClassElements |
protected java.util.Vector |
initialClassParts(ClassSpec spec)
Get all of the intial file elements of this class. |
abstract ClassElement[] |
parseSource(java.lang.Object type)
Get the ClassElements from the type. |
abstract ClassElement[] |
parseSource(java.lang.Object type,
boolean includePackage)
Get the ClassElements from the type. |
abstract ClassElement[] |
parseSource(java.lang.String className)
Get the ClassElements from class name. |
abstract void |
save(java.lang.Object type,
ClassElement[] els)
Update the 'type' with the new class definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MetaModel()
Method Detail |
public ClassSpec getClassSpec(ClassElement[] els)
protected java.util.Vector initialClassParts(ClassSpec spec)
public abstract ClassElement[] parseSource(java.lang.Object type)
type
- Object A usage specific object that represents the class.public abstract ClassElement[] parseSource(java.lang.Object type, boolean includePackage)
type
- Object A usage specific object that represents the class.public abstract ClassElement[] parseSource(java.lang.String className)
className
- Fully qualified class name.public abstract void save(java.lang.Object type, ClassElement[] els) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |