public class MathmlCharacterDictionary extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap<String,String> |
entityMapByName |
static HashMap<String,List<String>> |
entityMapByUnicode |
private static org.apache.log4j.Logger |
logger |
private static String |
MATHML_CHARACTERS_BY_NAME_XML |
private static String |
MATHML_CHARACTERS_BY_UNICODE_XML |
private static String |
MATHML_OPERATOR_DICTIONARY_XML |
static HashMap<String,List<Token>> |
operatorDictionary |
Constructor and Description |
---|
MathmlCharacterDictionary() |
Modifier and Type | Method and Description |
---|---|
static String |
decodeEntity(String operatorEntity) |
static Mo |
findOperator(String operator,
String form)
Searches for an operator inside the MathML Operator dictionary
|
private static final org.apache.log4j.Logger logger
private static final String MATHML_OPERATOR_DICTIONARY_XML
private static final String MATHML_CHARACTERS_BY_NAME_XML
private static final String MATHML_CHARACTERS_BY_UNICODE_XML
public static Mo findOperator(String operator, String form)
operator
- character which represents the operatorform
- MathML Operator form parameter, one of "prefix", "infix" (default) or "postfix"Copyright © 2015 Vienna University of Technology. All rights reserved.