Version: 1.1.1

org.biomoby.shared.parser
Class MobyParameter

java.lang.Object
  extended by org.biomoby.shared.parser.MobyDataElement
      extended by org.biomoby.shared.parser.MobyParameter

public class MobyParameter
extends MobyDataElement

A mixture of an "envelope" (because it inherits from a general envelope MobyDataElement, and Biomoby data, representing a secondary input - a secondary means that it is not used in a service discovery process. In practise, it means that it contains just some control values, like command-like switches etc.

Version:
$Id: MobyParameter.java,v 1.4 2006/05/09 13:32:09 senger Exp $
Author:
Martin Senger

Constructor Summary
MobyParameter()
          Default constructor.
 
Method Summary
 String getValue()
           
 void setValue(String value)
          Fill in a value of this parameter.
 String toString()
          Format all non-empty public members in a human-readable way.
 org.jdom.Element toXML()
          Create an XML element representing this object.
static org.jdom.Element toXML(String articleName, String value)
           
 
Methods inherited from class org.biomoby.shared.parser.MobyDataElement
format, getName, setName, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobyParameter

public MobyParameter()
Default constructor.

Method Detail

toString

public String toString()
Description copied from class: MobyDataElement
Format all non-empty public members in a human-readable way.

Overrides:
toString in class MobyDataElement
Returns:
a formatted string
See Also:
for making the returned string better indented

toXML

public org.jdom.Element toXML()
Description copied from class: MobyDataElement
Create an XML element representing this object.

Overrides:
toXML in class MobyDataElement
Returns:
a jDom element that can be easily incorporated into bigger a XML document

toXML

public static org.jdom.Element toXML(String articleName,
                                     String value)

setValue

public void setValue(String value)
Fill in a value of this parameter.


getValue

public String getValue()

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010