org.acm.seguin.pretty.jdi
Class InterfaceDeclaration

java.lang.Object
  extended by org.acm.seguin.pretty.jdi.InterfaceDeclaration
All Implemented Interfaces:
JavaDocable

public class InterfaceDeclaration
extends java.lang.Object

Holds an interface declaration. Essentially this is the method declaration inside an interface.

Since:
jRefactory 2.9.0, created October 16, 2003
Author:
Mike Atkinson

Field Summary
protected  FileSettings bundle
           
protected  JavaDocableImpl jdi
           
 
Constructor Summary
InterfaceDeclaration(net.sourceforge.jrefactory.ast.ASTInterfaceDeclaration intf)
          Constructor for the InterfaceDeclaration JavaDoc creator.
 
Method Summary
 void addJavaDocComponent(JavaDocComponent component)
          Allows you to add a java doc component
 void finish()
          Makes sure all the java doc components are present.
 boolean isRequired()
          Checks to see if it was printed
 void printJavaDocComponents(PrintData printData)
          Prints all the java doc components
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdi

protected JavaDocableImpl jdi

bundle

protected FileSettings bundle
Constructor Detail

InterfaceDeclaration

public InterfaceDeclaration(net.sourceforge.jrefactory.ast.ASTInterfaceDeclaration intf)
Constructor for the InterfaceDeclaration JavaDoc creator.

Parameters:
intf - Create JavaDoc for this node.
Method Detail

isRequired

public boolean isRequired()
Checks to see if it was printed

Returns:
true if it still needs to be printed

printJavaDocComponents

public void printJavaDocComponents(PrintData printData)
Prints all the java doc components

Parameters:
printData - the print data

finish

public void finish()
Makes sure all the java doc components are present. For classes and interfaces, this means a date and an author.


addJavaDocComponent

public void addJavaDocComponent(JavaDocComponent component)
Allows you to add a java doc component

Specified by:
addJavaDocComponent in interface JavaDocable
Parameters:
component - the component that can be added