Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.thoughtworks.qdox.model.JavaSource
Method Summary | |
void | |
void |
|
ClassLibrary | |
String | |
JavaClass[] | |
File |
|
String[] | |
JavaClass |
|
String | |
JavaSource | |
URL |
|
String |
|
void |
|
void |
|
void |
|
void |
|
String |
|
public void addImport(String imp)
public ClassLibrary getClassLibrary()
- Specified by:
- getClassLibrary in interface JavaClassParent
public String getClassNamePrefix()
- Specified by:
- getClassNamePrefix in interface JavaClassParent
public File getFile()
Deprecated. use getURL
public String[] getImports()
public JavaClass getNestedClassByName(String name)
- Specified by:
- getNestedClassByName in interface JavaClassParent
public String getPackage()
public JavaSource getParentSource()
- Specified by:
- getParentSource in interface JavaClassParent
public URL getURL()
- Since:
- 1.4
public String resolveType(String typeName)
Resolve a type-name within the context of this source or class.
- Specified by:
- resolveType in interface JavaClassParent
- Parameters:
typeName
- name of a type
- Returns:
- the fully-qualified name of the type, or null if it cannot be resolved
public void setFile(File file)
Deprecated. use setURL
public void setPackage(String packge)
public void setURL(URL url)
- Since:
- 1.4
public String toString()