|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jeuclid.elements.support.operatordict.AbstractOperatorDictionary
public abstract class AbstractOperatorDictionary
Read default values of operators from xml file.
| Field Summary |
|---|
| Fields inherited from interface net.sourceforge.jeuclid.elements.support.operatordict.OperatorDictionary |
|---|
FORM_INFIX, FORM_POSTFIX, FORM_PREFIX, NAME_INFINITY, NAME_MEDIUMMATHSPACE, NAME_THICKMATHSPACE, NAME_THINMATHSPACE, NAME_VERYTHICKMATHSPACE, NAME_VERYTHINMATHSPACE, NAME_VERYVERYTHICKMATHSPACE, NAME_VERYVERYTHINMATHSPACE, VALUE_UNKNOWN |
| Constructor Summary | |
|---|---|
protected |
AbstractOperatorDictionary()
Default constructor. |
| Method Summary | |
|---|---|
protected static OperatorDictionary |
deserialize(String path)
Get the for singleton instance. |
String |
getDefaultAttributeValue(String operator,
String form,
String attributeName)
Determines default value of the operator attribute. |
protected abstract void |
initializeFromXML(Map<OperatorAttribute,Map<String,Map<OperatorForm,String>>> d)
Initializes Dictionary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractOperatorDictionary()
| Method Detail |
|---|
protected static OperatorDictionary deserialize(String path)
path - path for the serialized object.
protected abstract void initializeFromXML(Map<OperatorAttribute,Map<String,Map<OperatorForm,String>>> d)
d - the dictionary to initialize.
public String getDefaultAttributeValue(String operator,
String form,
String attributeName)
throws UnknownAttributeException
getDefaultAttributeValue in interface OperatorDictionaryoperator - operator characterform - form stringattributeName - name of attribute
UnknownAttributeException - Raised, if wrong attributeName was provided.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||