lacam.container
Class ClassDescriptor

java.lang.Object
  extended bylacam.container.ClassDescriptor

public class ClassDescriptor
extends java.lang.Object

A class wrapper holding a classes byte code and its descriptions loaded from the xml file.

Author:
Dimitrij Zub

Constructor Summary
ClassDescriptor(org.w3c.dom.Node class_node, java.lang.String plugin_name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getAuthor()
           
 byte[] getContent()
           
 org.w3c.dom.Node getDefaultParameterlist()
           
 java.lang.String getDescription()
           
 org.w3c.dom.Node getImpliedParameterlist()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 java.lang.String getPlugin()
           
 org.w3c.dom.Node getRequiredParameterlist()
           
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 void setContent(byte[] bs)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassDescriptor

public ClassDescriptor(org.w3c.dom.Node class_node,
                       java.lang.String plugin_name)
Method Detail

getDescription

public java.lang.String getDescription()
Returns:
description content

getPath

public java.lang.String getPath()
Returns:
path (name) of the plugin class

getPlugin

public java.lang.String getPlugin()
Returns:
plugin name of the plugin class

getType

public java.lang.String getType()
Returns:
type of the plugin class

getVersion

public java.lang.String getVersion()
Returns:
version of the plugin class

getContent

public byte[] getContent()
Returns:
byte[] representation of the plugin class

setContent

public void setContent(byte[] bs)
Parameters:
bs - byte[] representing the class

getName

public java.lang.String getName()
Returns:
Name

getAuthor

public java.lang.String getAuthor()
Returns:
Author

getDefaultParameterlist

public org.w3c.dom.Node getDefaultParameterlist()
Returns:
default parameterlist node

getRequiredParameterlist

public org.w3c.dom.Node getRequiredParameterlist()

getImpliedParameterlist

public org.w3c.dom.Node getImpliedParameterlist()

equals

public boolean equals(java.lang.Object o)

toString

public java.lang.String toString()