1 package fr.ove.openmath.jome.ctrl.mml;
2
3 import fr.ove.utils.CachingResourcesManager;
4
5 /***
6 *v The resources manager for the MathML parser.
7 *
8 * @author © 1999 DIRAT Laurent
9 * @version 1.0 26/05/2000
10 */
11 public class MathMLParserResourcesManager extends CachingResourcesManager {
12 /***
13 * The Constructor.
14 * @param resourcesName the name of the resources file.
15 */
16 public MathMLParserResourcesManager (String resourcesName) {
17 super(resourcesName);
18 }
19
20 /***
21 * Returns the class name corresponding to the specified property.
22 * @param property the specified property
23 */
24 public String getIdentifier(String property) {
25 return accessResource(property, 0);
26 }
27
28 /***
29 * Returns the value associated to corresponding to the specified property.
30 * @param property the specified property
31 */
32 public String getValue(String property) {
33 return accessResource(property, 1);
34 }
35 }