Top Description Inners Fields Constructors Methods
uk.ac.ed.ph.snuggletex.definitions

public final Class MathCharacter

extends Object
Class Inheritance
Imports
uk.ac.ed.ph.snuggletex.internal.util.BeanToStringOptions, .DumpMode, .ObjectDumperOptions, .ObjectUtilities, .PropertyOptions, uk.ac.ed.ph.snuggletex.semantics.Interpretation, .InterpretationType, .MathCharacterInterpretation, java.util.EnumMap

Represents a mathematical character.
Author
David McKain
Version
$Revision$

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final int
private final String
private final EnumMap<InterpretationType, Interpretation>
private final MathCharacterInterpretation
private final MathCharacter.MathCharacterType

Constructor Summary

AccessConstructor and Description
public
MathCharacter(int codePoint, String inputCommandName, MathCharacter.MathCharacterType type)

Method Summary

Modifier and TypeMethod and Description
public void
public String
public int
public String
public EnumMap<InterpretationType, Interpretation>
public MathCharacterInterpretation
public MathCharacter.MathCharacterType
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

codePointback to summary
private final int codePoint
inputCommandNameback to summary
private final String inputCommandName
interpretationMapback to summary
private final EnumMap<InterpretationType, Interpretation> interpretationMap
mathCharacterInterpretationback to summary
private final MathCharacterInterpretation mathCharacterInterpretation
typeback to summary
private final MathCharacter.MathCharacterType type

Constructor Detail

MathCharacterback to summary
public MathCharacter(int codePoint, String inputCommandName, MathCharacter.MathCharacterType type)

Method Detail

addInterpretationback to summary
public void addInterpretation(Interpretation interpretation)
getCharsback to summary
public String getChars()
getCodePointback to summary
public int getCodePoint()
getInputCommandNameback to summary
public String getInputCommandName()
getInterpretationMapback to summary
public EnumMap<InterpretationType, Interpretation> getInterpretationMap()
Annotations
@ObjectDumperOptions:IGNORE
@BeanToStringOptions:IGNORE_PROPERTY
getMathCharacterInterpretationback to summary
public MathCharacterInterpretation getMathCharacterInterpretation()
Annotations
@ObjectDumperOptions:IGNORE
@BeanToStringOptions:IGNORE_PROPERTY
getTypeback to summary
public MathCharacter.MathCharacterType getType()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
uk.ac.ed.ph.snuggletex.definitions back to summary

public final Enum MathCharacter.MathCharacterType

extends Enum<MathCharacter.MathCharacterType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType
public static final MathCharacter.MathCharacterType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MathCharacter.MathCharacterType
public static MathCharacter.MathCharacterType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ACCENTback to summary
public static final MathCharacter.MathCharacterType ACCENT
ALPHAback to summary
public static final MathCharacter.MathCharacterType ALPHA
BINback to summary
public static final MathCharacter.MathCharacterType BIN
CLOSEback to summary
public static final MathCharacter.MathCharacterType CLOSE
FENCEback to summary
public static final MathCharacter.MathCharacterType FENCE
NUMERICback to summary
public static final MathCharacter.MathCharacterType NUMERIC
OPback to summary
public static final MathCharacter.MathCharacterType OP
OPENback to summary
public static final MathCharacter.MathCharacterType OPEN
ORDback to summary
public static final MathCharacter.MathCharacterType ORD
PUNCTback to summary
public static final MathCharacter.MathCharacterType PUNCT
RELback to summary
public static final MathCharacter.MathCharacterType REL

Constructor Detail

MathCharacterTypeback to summary
private MathCharacterType()

Method Detail

valueOfback to summary
public static MathCharacter.MathCharacterType valueOf(String name)
valuesback to summary
public static MathCharacter.MathCharacterType[] values()