|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Extensible
Basic interface for all extendable objects. This is just an interface for
a subset of the methods on ExtensionPoint. Any class implementing this
interface will forward these methods on to the ExtensionPoint
it is
using for storing the actual extension information.
Method Summary | |
---|---|
void |
addExtension(Extension extension)
Adds an extension object. |
void |
addRepeatingExtension(Extension extension)
Adds a repeating extension object. |
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an Extensible within the target extension profile. |
void |
removeExtension(java.lang.Class<? extends Extension> extensionClass)
Removes an extension object based on its class. |
void |
removeExtension(Extension extension)
Removes an extension object. |
void |
removeRepeatingExtension(Extension ext)
Removes a repeating extension object. |
void |
setExtension(Extension extension)
Sets an extension object. |
Method Detail |
---|
void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint.declareExtensions(ExtensionProfile)
.
extProfile
- the ExtensionProfile to initialize.void setExtension(Extension extension)
ExtensionPoint.setExtension(Extension)
.
void addExtension(Extension extension)
ExtensionPoint.addExtension(Extension)
.
void addRepeatingExtension(Extension extension)
ExtensionPoint.addRepeatingExtension(Extension)
.
void removeExtension(Extension extension)
ExtensionPoint.removeExtension(Extension)
.
void removeExtension(java.lang.Class<? extends Extension> extensionClass)
ExtensionPoint.removeExtension(Class)
.
void removeRepeatingExtension(Extension ext)
ExtensionPoint.removeRepeatingExtension(Extension)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |