Class OMString
java.lang.Object
org.episteme.core.mathematics.loaders.openmath.OMObject
org.episteme.core.mathematics.loaders.openmath.OMString
- All Implemented Interfaces:
Serializable, Cloneable
Models an OpenMath string.
- Version:
- $Revision: 1.3 $
- Author:
- Manfred N. Riem (mriem@manorrock.org)
- See Also:
-
Field Summary
FieldsFields inherited from class OMObject
attributes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone the object (shallow copy).copy()Copies the object (deep copy).Gets the string.getType()Gets the type.booleanisAtom()Is this an atom object.booleanIs this a composite object.booleanDetermines if this is the same object.booleanisValid()Determines if this object is valid.voidSets the string.toString()toString.Methods inherited from class OMObject
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
-
Field Details
-
string
Stores the string.
-
-
Constructor Details
-
OMString
public OMString()Constructor. -
OMString
Constructor.- Parameters:
newString- the Java string to associate with thie OpenMath object.
-
-
Method Details
-
getType
-
setString
-
getString
-
isAtom
-
isComposite
public boolean isComposite()Is this a composite object.- Specified by:
isCompositein classOMObject- Returns:
- false because it is not composite.
-
toString
-
clone
-
copy
-
isSame
-
isValid
-