Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase
Interface ResourceAnalysationFacilityListener


public interface ResourceAnalysationFacilityListener

Describes a listener for the ResourceAnalysationFacility type.

Author:
Martin Kersten
See Also:
ResourceAnalysationFacility, AbstractResourceAnalysationFacilityListener

Method Summary
 void addAttribute(Attribute attribute)
          Adds an attribute to the actual object.
 void end()
          Ends the actual object.
 CodeBase getCodeBase()
          Returns the codebase the listener is related to.
 void startClass(ClassName name, Modifier modifier, ClassReference superclass, ClassReference[] interfaces)
          Starts a new class with the given name, modifier, superclass and implemented interfaces.
 void startField(java.lang.String name, Modifier modifier, ClassReference type)
          Starts a new field with the given name, modifier and type.
 void startInterface(ClassName name, Modifier modifier, ClassReference[] superclasses)
          Starts a new interface with the given name, modifier and extended superclasses.
 void startMethod(java.lang.String name, Modifier modifier, ClassReference type, MethodParameters parameters)
          Starts a new method with the given name, modifier, type and parameters.
 

Method Detail

addAttribute

public void addAttribute(Attribute attribute)
Adds an attribute to the actual object.

Parameters:
attribute - The attribute to add

end

public void end()
Ends the actual object.


getCodeBase

public CodeBase getCodeBase()
Returns the codebase the listener is related to.

Returns:
The codebase the listener is related to

startClass

public void startClass(ClassName name,
                       Modifier modifier,
                       ClassReference superclass,
                       ClassReference[] interfaces)
Starts a new class with the given name, modifier, superclass and implemented interfaces.

Parameters:
name - The name of the class
modifier - The modifier of the class
superclass - The superclass of the class
interfaces - The implemented interfaces of the class

startField

public void startField(java.lang.String name,
                       Modifier modifier,
                       ClassReference type)
Starts a new field with the given name, modifier and type.

Parameters:
name - The name of the field
modifier - The modifier of the field
type - The type of the field

startInterface

public void startInterface(ClassName name,
                           Modifier modifier,
                           ClassReference[] superclasses)
Starts a new interface with the given name, modifier and extended superclasses.

Parameters:
name - The name of the interface
modifier - The modifier of the interface

startMethod

public void startMethod(java.lang.String name,
                        Modifier modifier,
                        ClassReference type,
                        MethodParameters parameters)
Starts a new method with the given name, modifier, type and parameters.

Parameters:
name - The name of the method
modifier - The modifier of the method
type - The type of the method
parameters - The parameter signature of the method