Skip navigation links
com.essbase.eas.essbase.ui.outline.members.formula.template
Class FormulaTemplateXMLParser
java.lang.Object
com.essbase.eas.essbase.ui.outline.members.formula.template.FormulaTemplateXMLParser
-
public class FormulaTemplateXMLParser
- extends java.lang.Object
ASO Formula template XML Parser This is the core XMLparser which parses the template XML and creates necessary data structures which are used for rendering the UI of the formula.
- Author:
- Karthik K
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormulaTemplateXMLParser
public FormulaTemplateXMLParser(java.lang.String file)
- Reads the template from a file
- Parameters:
file -
FormulaTemplateXMLParser
public FormulaTemplateXMLParser(java.io.InputStream in)
throws java.lang.Exception
- Reads the template from an input stream
- Throws:
java.lang.Exception
parse
public void parse()
throws java.lang.Exception
- Parse routine.
-
- Throws:
java.lang.Exception
getAttributeValueAsChar
public char getAttributeValueAsChar(org.w3c.dom.Node node,
java.lang.String attrName)
getFormulaTemplates
public CFormulaTemplate[] getFormulaTemplates()
getTypeDefinitions
public java.util.Hashtable getTypeDefinitions()
getCategoryDefinitions
public java.util.Hashtable getCategoryDefinitions()
isFormulaTemplateMatching
public boolean isFormulaTemplateMatching(java.lang.String formulaText,
CFormulaTemplate template)
- Matches a formula text against a template. This method is used for identifying the template from which a formula was generated. This is done by converting the the template to a full fledged regular expression and then comparing it with the formula string.
Skip navigation links
Copyright © 2001, 2012, Oracle. All rights reserved.