org.apache.maven.jxr.pacman
Class JavaFile

java.lang.Object
  extended by org.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 514409 2007-03-04 15:31:15Z dennisl $
Author:
Kevin A. Burton

Constructor Summary
JavaFile()
           
 
Method Summary
 void addClassType(ClassType classType)
          Add a ClassType to the current list of class types.
 void addImportType(ImportType importType)
          Add an ImportType to the current imports.
 ClassType getClassType()
          Get the name of this class.
 java.util.List getClassTypes()
          Get the names of the classes in this file.
 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.


getClassTypes

public java.util.List getClassTypes()
Get the names of the classes in this file.


getPackageType

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


addClassType

public void addClassType(ClassType classType)
Add a ClassType to the current list of class types.


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 © 2002-2008 Apache Software Foundation. All Rights Reserved.