org.sourcejammer.client.gui.conf
Class Plugin

java.lang.Object
  |
  +--org.sourcejammer.client.gui.conf.Plugin

public class Plugin
extends java.lang.Object

Title: $FileName: Plugin.java$

Version:
$VerNum: 3$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Nested Class Summary
static class Plugin.PluginType
           
static class Plugin.XMLNodes
           
 
Field Summary
private  org.w3c.dom.Element definition
           
private  java.lang.String name
           
private  java.util.HashMap params
           
private  SJClientPlugin plugin
           
private  java.lang.String pluginClass
           
private  java.util.HashMap types
           
 
Constructor Summary
Plugin(org.w3c.dom.Element pluginElement)
           
 
Method Summary
 org.w3c.dom.Element getDefinition()
          Returns the definition.
 java.lang.String getName()
          Returns the name.
 java.util.HashMap getParams()
          Returns the params.
 SJClientPlugin getPlugin()
          Returns the plugin.
 java.lang.String getPluginClass()
          Returns the pluginClass.
 boolean isType(java.lang.String type)
           
private  void loadParams(org.w3c.dom.Element pluginElement)
           
private  void parseTypes(java.lang.String types)
           
 org.w3c.dom.Element writePluginElement(org.w3c.dom.Element pluginsElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

pluginClass

private java.lang.String pluginClass

types

private java.util.HashMap types

params

private java.util.HashMap params

plugin

private SJClientPlugin plugin

definition

private org.w3c.dom.Element definition
Constructor Detail

Plugin

public Plugin(org.w3c.dom.Element pluginElement)
Method Detail

parseTypes

private void parseTypes(java.lang.String types)

loadParams

private void loadParams(org.w3c.dom.Element pluginElement)

writePluginElement

public org.w3c.dom.Element writePluginElement(org.w3c.dom.Element pluginsElement)

getDefinition

public org.w3c.dom.Element getDefinition()
Returns the definition.

Returns:
Element

getName

public java.lang.String getName()
Returns the name.

Returns:
String

getParams

public java.util.HashMap getParams()
Returns the params.

Returns:
HashMap

getPlugin

public SJClientPlugin getPlugin()
Returns the plugin.

Returns:
SJClientPlugin

getPluginClass

public java.lang.String getPluginClass()
Returns the pluginClass.

Returns:
String

isType

public boolean isType(java.lang.String type)


Copyright 2003 Soucejammer project.