org.gcube.contentmanagement.contentmanager.plugin.defaultplugin
Class DefaultPluginContext

java.lang.Object
  extended by GCUBEPluginContext
      extended by org.gcube.contentmanagement.contentmanager.plugin.PluginContext
          extended by org.gcube.contentmanagement.contentmanager.plugin.defaultplugin.DefaultPluginContext

public class DefaultPluginContext
extends PluginContext

The context of the default plugin.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
DefaultPluginContext()
           
 
Method Summary
 java.util.List<org.w3c.dom.Element> getCreatePayloads()
          Returns the payloads processed by the FactoryDelegate, as DOM elements.
 FactoryDelegate getFactory()
          Returns the FactoryDelegate of the plugin.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPluginContext

public DefaultPluginContext()
Method Detail

getCreatePayloads

public java.util.List<org.w3c.dom.Element> getCreatePayloads()
Returns the payloads processed by the FactoryDelegate, as DOM elements.

Specified by:
getCreatePayloads in class PluginContext
Returns:
the payloads.

getFactory

public FactoryDelegate getFactory()
Returns the FactoryDelegate of the plugin.

Specified by:
getFactory in class PluginContext
Returns:
the delegate.