Class OMRoot
java.lang.Object
org.episteme.core.mathematics.loaders.openmath.OMObject
org.episteme.core.mathematics.loaders.openmath.OMRoot
- All Implemented Interfaces:
Serializable, Cloneable
Models an OpenMath root object.
Note: this object was created because the OpenMath 2.0 standard allows additional attributes to be associated with the base XML element.
- Version:
- $Revision: 1.2 $
- 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()Clones a OMRoot object.copy()Copies an OMRoot object.Get the object.getType()Get the type of the object.booleanisAtom()Returns if this object is an atom object.booleanReturns if this object is a composite object.booleanReturns if this object is the same with the given object.booleanisValid()Returns if this object is a valid object.voidSet the object.toString()toString.Methods inherited from class OMObject
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes
-
Field Details
-
object
Stores the 'real' object.
-
-
Constructor Details
-
OMRoot
public OMRoot()
-
-
Method Details
-
clone
-
copy
-
getType
-
isAtom
-
isComposite
public boolean isComposite()Returns if this object is a composite object.- Specified by:
isCompositein classOMObject- Returns:
- true
-
isSame
-
isValid
-
toString
-
setObject
Set the object. -
getObject
Get the object.
-