org.jpox.plugin
Class Extension

java.lang.Object
  extended byorg.jpox.plugin.Extension

public class Extension
extends java.lang.Object

Extension declared in a plug-in. Represents the XML element


Constructor Summary
Extension(ExtensionPoint point, Plugin plugin)
           
 
Method Summary
 void addConfigurationElement(ConfigurationElement element)
          Add a new child ConfigurationElement (declared nested in the extension XML element)
 ConfigurationElement[] getConfigurationElements()
          Acessor for all ConfigurationElements declared in the Extension
 Plugin getPlugin()
          Accessor for the Plug-in that declared this Extension
 ExtensionPoint getPoint()
          Acessor for the ExtensionPoint that this Extension implements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extension

public Extension(ExtensionPoint point,
                 Plugin plugin)
Method Detail

getPlugin

public Plugin getPlugin()
Accessor for the Plug-in that declared this Extension

Returns:
the Plug-in

getPoint

public ExtensionPoint getPoint()
Acessor for the ExtensionPoint that this Extension implements

Returns:
the ExtensionPoint

addConfigurationElement

public void addConfigurationElement(ConfigurationElement element)
Add a new child ConfigurationElement (declared nested in the extension XML element)

Parameters:
element - the ConfigurationElement

getConfigurationElements

public ConfigurationElement[] getConfigurationElements()
Acessor for all ConfigurationElements declared in the Extension

Returns:
array of ConfigurationElement


Copyright © -2007 . All Rights Reserved.