|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.rubecula.util.Symbol
Symbol Class. This class is used to model non-numerical objects which appear in expressions, such as operators, variable references, parentheses, etc.
Copyright: Copyright (c) 2003
Company: Rubecula Software
| Field Summary | |
protected java.lang.String |
_S
|
| Constructor Summary | |
Symbol(java.lang.String s)
|
|
| Method Summary | |
java.lang.String |
getType()
This method is primarily for development purposes: it yields the name of the class of the presentable object or, in some cases, the class of the presentable object indirectly referenced. |
Presentable |
makePresentableInstance(Presentation presentation)
Instance method to convert a Presentation into a Presentable. |
Presentation |
present(AttrMap attributes)
Convert this Presentable object into a Presentation, according to the set of attributes provided. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final java.lang.String _S
| Constructor Detail |
public Symbol(java.lang.String s)
| Method Detail |
public java.lang.String toString()
public Presentation present(AttrMap attributes)
throws PresentationException
Presentable
present in interface Presentableattributes - a map of the attributes desired for the construction
of the new presentation (may be empty).
PresentationException - in case of parsing error.public java.lang.String getType()
getType in interface Presentable
public Presentable makePresentableInstance(Presentation presentation)
throws PresentationException
Presentable
makePresentableInstance in interface Presentablepresentation - of a number to be converted into a Presentable number.
PresentationException - in case of parsing error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||