|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--vdoclet.docinfo.BaseInfo | +--vdoclet.docinfo.BaseElementInfo | +--vdoclet.docinfo.ClassInfo
Info about a Class.
Constructor Summary | |
ClassInfo(String name)
Create a new ClassInfo with the specified name |
Method Summary | |
void |
addField(FieldInfo field)
|
void |
addFields(Collection fields)
|
void |
addInterface(String iface)
|
void |
addInterfaces(Collection interfaces)
|
void |
addMethod(MethodInfo method)
|
void |
addMethods(Collection methods)
|
DocInfo |
getContainingDocInfo()
Get the containing DocInfo |
FieldInfo |
getField(int index)
|
List |
getFields()
|
Collection |
getInterfaces()
|
MethodInfo |
getMethod(int index)
|
MethodInfo |
getMethod(String name,
List types)
|
List |
getMethods()
|
String |
getName()
Get the fully-qualified class-name |
String |
getPackage()
Get the name of the enclosing package |
String |
getShortName()
Get the un-qualified class-name |
String |
getSuperClass()
|
boolean |
hasInterface(String name)
Return true if this class implements the interface, either directly or thru it's super-class. |
ClassInfo |
resolveSuperClass()
|
void |
setContainingDocInfo(DocInfo docInfo)
Set the containing DocInfo |
void |
setSuperClass(String superClassName)
|
Methods inherited from class vdoclet.docinfo.BaseElementInfo |
getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, setAbstract, setFinal, setPrivate, setProtected, setPublic, setStatic |
Methods inherited from class vdoclet.docinfo.BaseInfo |
addTag, addTag, addTags, clone, getComment, getTag, getTags, getTags, getTagValue, getTagValue, setComment, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassInfo(String name)
name
- fully-qualified class-nameMethod Detail |
public void setContainingDocInfo(DocInfo docInfo)
public DocInfo getContainingDocInfo()
public String getName()
getName
in class BaseInfo
public String getPackage()
public String getShortName()
public void addField(FieldInfo field)
public void addFields(Collection fields)
public List getFields()
public FieldInfo getField(int index)
public void addMethod(MethodInfo method)
public void addMethods(Collection methods)
public List getMethods()
public MethodInfo getMethod(int index)
public MethodInfo getMethod(String name, List types)
public void setSuperClass(String superClassName)
public String getSuperClass()
public ClassInfo resolveSuperClass()
public void addInterface(String iface)
public void addInterfaces(Collection interfaces)
public Collection getInterfaces()
public boolean hasInterface(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |