org.sourcejammer.project.model.filesys
Class PluginFS

java.lang.Object
  |
  +--org.sourcejammer.project.model.filesys.PluginFS
All Implemented Interfaces:
Plugin

public class PluginFS
extends java.lang.Object
implements Plugin

Title: $FileName: PluginFS.java$

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

$Description: FileSys implementation of org.sourcejammer.project.controller.Plugin.$
$KeyWordsOff: $

Nested Class Summary
 
Nested classes inherited from class org.sourcejammer.project.Plugin
Plugin.Types
 
Field Summary
private  java.lang.String name
           
private  java.util.HashMap params
           
private  SJServerPlugin plugin
           
private  java.lang.String pluginClass
           
private  java.util.HashMap types
           
 
Constructor Summary
PluginFS(org.w3c.dom.Element pluginElement)
           
 
Method Summary
 org.w3c.dom.Element getDefinition(org.w3c.dom.Element elmParentElement)
          Returns the definition.
 java.lang.String getName()
          Returns the name.
 java.util.HashMap getParams()
          Returns the params.
 SJServerPlugin getPlugin()
          Returns the plugin.
 java.lang.String getPluginClass()
          Returns the pluginClass.
 boolean isType(java.lang.String type)
          Returns true if the Plugin is of the specified type (a plugin can be of more than one type).
private  void loadParams(org.w3c.dom.Element pluginElement)
           
private  void parseTypes(java.lang.String types)
           
 
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 SJServerPlugin plugin
Constructor Detail

PluginFS

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

parseTypes

private void parseTypes(java.lang.String types)

loadParams

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

getDefinition

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

Returns:
Element

getName

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

Specified by:
getName in interface Plugin
Returns:
String

getParams

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

Specified by:
getParams in interface Plugin
Returns:
HashMap

getPlugin

public SJServerPlugin getPlugin()
Returns the plugin.

Specified by:
getPlugin in interface Plugin
Returns:
SJServerPlugin

getPluginClass

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

Specified by:
getPluginClass in interface Plugin
Returns:
String

isType

public boolean isType(java.lang.String type)
Description copied from interface: Plugin
Returns true if the Plugin is of the specified type (a plugin can be of more than one type).

Specified by:
isType in interface Plugin
Returns:
boolean


Copyright 2003 Soucejammer project.