org.apache.maven.jxr.pacman
Class JavaFile

java.lang.Object
  extended byorg.apache.maven.jxr.pacman.JavaFile
Direct Known Subclasses:
JavaFileImpl

public abstract class JavaFile
extends java.lang.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

Constructor Summary
JavaFile()
           
 
Method Summary
 void addImportType(ImportType importType)
          Add an ImportType to the current imports
 ClassType getClassType()
          Get the name of this class.
 java.lang.String getEncoding()
          Gets the encoding attribute of the JavaFile object
 java.lang.String getFilename()
          Gets the filename attribute of the JavaFile object
 ImportType[] getImportTypes()
          Get the imported packages/files that this package has.
 PackageType getPackageType()
          Get the package of this class.
 void setClassType(ClassType classType)
          Set the name of this class.
 void setEncoding(java.lang.String encoding)
          Sets the encoding attribute of the JavaFile object
 void setFilename(java.lang.String filename)
          Sets the filename attribute of the JavaFile object
 void setPackageType(PackageType packageType)
          Set the PackageType of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaFile

public JavaFile()
Method Detail

getImportTypes

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


getClassType

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


getPackageType

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


addImportType

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


setClassType

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


setPackageType

public void setPackageType(PackageType packageType)
Set the PackageType of this class.


getFilename

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


setFilename

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


getEncoding

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


setEncoding

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



Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.