org.jpox.plugin
Class Plugin

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

public class Plugin
extends java.lang.Object

A Plug-in definition. Represents the XML declaration


Constructor Summary
Plugin(java.lang.String id, java.lang.String name, java.lang.String providerName, java.lang.String version, java.net.URL pluginLocation)
          Constructor
 
Method Summary
 java.lang.String getId()
          Accessor for the plug-in id
 java.lang.String getName()
          Acessor for the plug-in name
 java.net.URL getPluginLocation()
          Acessor for the location of the plugin.xml file
 java.lang.String getProviderName()
          Accessor for the provider name of this plug-in
 java.lang.String getVersion()
          Acessor for the version of this plug-in
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin

public Plugin(java.lang.String id,
              java.lang.String name,
              java.lang.String providerName,
              java.lang.String version,
              java.net.URL pluginLocation)
Constructor

Parameters:
id - the unique id
name - the name
providerName - the provider name
version - the version number
pluginLocation - the path to the declaration file
Method Detail

getId

public java.lang.String getId()
Accessor for the plug-in id

Returns:
id of the plug-in

getProviderName

public java.lang.String getProviderName()
Accessor for the provider name of this plug-in

Returns:
provider name

getVersion

public java.lang.String getVersion()
Acessor for the version of this plug-in

Returns:
version

getPluginLocation

public java.net.URL getPluginLocation()
Acessor for the location of the plugin.xml file

Returns:
the plugin.xml location

getName

public java.lang.String getName()
Acessor for the plug-in name

Returns:
plug-in name


Copyright © -2007 . All Rights Reserved.