|
|||||||||
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.OMRoot
public class OMRoot
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.
Field Summary | |
---|---|
protected OMObject |
object
Stores the 'real' object. |
Fields inherited from class org.jscience.ml.openmath.OMObject |
---|
attributes |
Constructor Summary | |
---|---|
OMRoot()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones a OMRoot object. |
java.lang.Object |
copy()
Copies an OMRoot object. |
OMObject |
getObject()
Get the object. |
java.lang.String |
getType()
Get the type of the object. |
boolean |
isAtom()
Returns if this object is an atom object. |
boolean |
isComposite()
Returns if this object is a composite object. |
boolean |
isSame(OMObject object)
Returns if this object is the same with the given object. |
boolean |
isValid()
Returns if this object is a valid object. |
void |
setObject(OMObject newObject)
Set the object. |
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 OMObject object
Constructor Detail |
---|
public OMRoot()
Method Detail |
---|
public java.lang.Object clone()
clone
in class OMObject
public java.lang.Object copy()
copy
in class OMObject
public java.lang.String getType()
getType
in class OMObject
public boolean isAtom()
isAtom
in class OMObject
public boolean isComposite()
isComposite
in class OMObject
public boolean isSame(OMObject object)
isSame
in class OMObject
object
- the object to test against.
public boolean isValid()
isValid
in class OMObject
public java.lang.String toString()
toString
in class OMObject
public void setObject(OMObject newObject)
public OMObject getObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |