|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.openmath.OMObject
org.jscience.ml.openmath.OMString
public class OMString
Models an OpenMath string.
| Field Summary | |
|---|---|
protected java.lang.String |
string
Stores the string. |
| Fields inherited from class org.jscience.ml.openmath.OMObject |
|---|
attributes |
| Constructor Summary | |
|---|---|
OMString()
Constructor. |
|
OMString(java.lang.String newString)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone the object (shallow copy). |
java.lang.Object |
copy()
Copies the object (deep copy). |
java.lang.String |
getString()
Gets the string. |
java.lang.String |
getType()
Gets the type. |
boolean |
isAtom()
Is this an atom object. |
boolean |
isComposite()
Is this a composite object. |
boolean |
isSame(OMObject object)
Determines if this is the same object. |
boolean |
isValid()
Determines if this object is valid. |
void |
setString(java.lang.String newString)
Sets the string. |
java.lang.String |
toString()
toString. |
| Methods inherited from class org.jscience.ml.openmath.OMObject |
|---|
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String string
| Constructor Detail |
|---|
public OMString()
public OMString(java.lang.String newString)
newString - the Java string to associate with thie OpenMath object.| Method Detail |
|---|
public java.lang.String getType()
getType in class OMObjectpublic void setString(java.lang.String newString)
newString - the string to set.public java.lang.String getString()
public boolean isAtom()
isAtom in class OMObjectpublic boolean isComposite()
isComposite in class OMObjectpublic java.lang.String toString()
toString in class OMObjectpublic java.lang.Object clone()
clone in class OMObjectpublic java.lang.Object copy()
copy in class OMObjectpublic boolean isSame(OMObject object)
isSame in class OMObjectobject - the object to test against.
public boolean isValid()
isValid in class OMObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||