|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tue.win.riaca.openmath.lang.OMObject
nl.tue.win.riaca.openmath.lang.OMReference
Models a OpenMath reference.
Field Summary |
Fields inherited from class nl.tue.win.riaca.openmath.lang.OMObject |
attributes |
Constructor Summary | |
OMReference()
Constructor. |
|
OMReference(java.lang.String href)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Create a clone of this OMReference. |
java.lang.Object |
copy()
Create a copy of this OMReference. |
java.lang.String |
getHref()
Get the href. |
java.lang.String |
getType()
Get the type of the OpenMath object. |
boolean |
isAtom()
Return if this is an atom object. |
boolean |
isComposite()
Return if this a composite object. |
boolean |
isSame(OMObject object)
Return if the given is the same as this object. |
boolean |
isValid()
Return if this object is a valid object. |
void |
setHref(java.lang.String href)
Set the href. |
java.lang.String |
toString()
toString. |
Methods inherited from class nl.tue.win.riaca.openmath.lang.OMObject |
getAttribute, getAttributes, removeAttribute, setAttribute, setAttributes |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OMReference()
public OMReference(java.lang.String href)
href
- the href. 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 getHref()
public void setHref(java.lang.String href)
href
- the href of the reference.public java.lang.String toString()
toString
in class OMObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |