org.apache.maven.jxr.pacman

Class JavaFile

public abstract class JavaFile extends Object

Interface for objects which wish to provide metainfo about a JavaFile.

Version: $Id: JavaFile.java 292625 2005-09-30 04:27:12Z brett $

Author: Kevin A. Burton

Method Summary
voidaddImportType(ImportType importType)
Add an ImportType to the current imports
ClassTypegetClassType()
Get the name of this class.
StringgetEncoding()
Gets the encoding attribute of the JavaFile object
StringgetFilename()
Gets the filename attribute of the JavaFile object
ImportType[]getImportTypes()
Get the imported packages/files that this package has.
PackageTypegetPackageType()
Get the package of this class.
voidsetClassType(ClassType classType)
Set the name of this class.
voidsetEncoding(String encoding)
Sets the encoding attribute of the JavaFile object
voidsetFilename(String filename)
Sets the filename attribute of the JavaFile object
voidsetPackageType(PackageType packageType)
Set the PackageType of this class.

Method Detail

addImportType

public void addImportType(ImportType importType)
Add an ImportType to the current imports

getClassType

public ClassType getClassType()
Get the name of this class.

getEncoding

public String getEncoding()
Gets the encoding attribute of the JavaFile object

getFilename

public String getFilename()
Gets the filename attribute of the JavaFile object

getImportTypes

public ImportType[] getImportTypes()
Get the imported packages/files that this package has.

getPackageType

public PackageType getPackageType()
Get the package of this class.

setClassType

public void setClassType(ClassType classType)
Set the name of this class.

setEncoding

public void setEncoding(String encoding)
Sets the encoding attribute of the JavaFile object

setFilename

public void setFilename(String filename)
Sets the filename attribute of the JavaFile object

setPackageType

public void setPackageType(PackageType packageType)
Set the PackageType of this class.
Copyright © {inceptionYear}-2008 Apache Software Foundation. All Rights Reserved.