Version: 1.1.1

org.biomoby.shared.datatypes
Class MobyString

java.lang.Object
  extended by org.biomoby.shared.datatypes.MobyObject
      extended by org.biomoby.shared.datatypes.MobyString

public class MobyString
extends MobyObject

An object representing a String, a Moby primitive data type.

Version:
$Id: MobyString.java,v 1.1 2005/08/26 06:27:05 senger Exp $
Author:
Martin Senger

Constructor Summary
MobyString()
          Default constructor.
MobyString(String value)
          Another constructor.
 
Method Summary
 org.jdom.Element toXML()
          Create an XML element representing this object.
 
Methods inherited from class org.biomoby.shared.datatypes.MobyObject
addXref, format, getId, getMobyTypeName, getName, getNamespace, getProvision, getValue, getXrefs, isPrimitiveType, setId, setName, setNamespace, setProvision, setValue, setValueXML, setXrefs, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MobyString

public MobyString()
Default constructor.


MobyString

public MobyString(String value)
Another constructor.

Parameters:
value - will become the value of this object
Throws:
MobyException - actually it does not throw any exception
Method Detail

toXML

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

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

Version: 1.1.1

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