Interface OperatorDictionary
- All Known Implementing Classes:
AbstractOperatorDictionary,OperatorDictionary2,OperatorDictionary3
public interface OperatorDictionary
Interface for operator dictionaries.
- Version:
- $Revision: 241d8c4d0dc1 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringform value for infix.static final Stringform value for postfix.static final StringForm value for prefix.static final Stringname for INFINITY size of math space.static final Stringname for MEDIUMMATHSPACE size of math space.static final Stringname for THICKMATHSPACE size of math space.static final Stringname for THINMATHSPACE size of math space.static final Stringname for VERYTHICKMATHSPACE size of math space.static final Stringname for VERYTHINMATHSPACE size of math space.static final Stringname for VERYVERYTHICKMATHSPACE size of math space.static final Stringname for VERYVERYTHINMATHSPACE size of math space.static final StringThis value is returned, when default value of operator attribute doesn't exist in this dictionary so far. -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultAttributeValue(String operator, String form, String attributeName) Determines default value of the operator attribute.
-
Field Details
-
NAME_VERYVERYTHINMATHSPACE
name for VERYVERYTHINMATHSPACE size of math space.- See Also:
-
NAME_VERYTHINMATHSPACE
name for VERYTHINMATHSPACE size of math space.- See Also:
-
NAME_THINMATHSPACE
name for THINMATHSPACE size of math space.- See Also:
-
NAME_MEDIUMMATHSPACE
name for MEDIUMMATHSPACE size of math space.- See Also:
-
NAME_THICKMATHSPACE
name for THICKMATHSPACE size of math space.- See Also:
-
NAME_VERYTHICKMATHSPACE
name for VERYTHICKMATHSPACE size of math space.- See Also:
-
NAME_VERYVERYTHICKMATHSPACE
name for VERYVERYTHICKMATHSPACE size of math space.- See Also:
-
NAME_INFINITY
name for INFINITY size of math space.- See Also:
-
FORM_PREFIX
Form value for prefix.- See Also:
-
FORM_INFIX
form value for infix.- See Also:
-
FORM_POSTFIX
form value for postfix.- See Also:
-
VALUE_UNKNOWN
This value is returned, when default value of operator attribute doesn't exist in this dictionary so far.- See Also:
-
-
Method Details
-
getDefaultAttributeValue
String getDefaultAttributeValue(String operator, String form, String attributeName) throws UnknownAttributeException Determines default value of the operator attribute.- Parameters:
operator- operator characterform- form stringattributeName- name of attribute- Returns:
- VALUE_UNKOWN or value from dict.
- Throws:
UnknownAttributeException- Raised, if wrong attributeName was provided.
-