public class ExpressionParserResult
extends java.lang.Object
Constructor and Description |
---|
ExpressionParserResult() |
Modifier and Type | Method and Description |
---|---|
void |
createVariables(XBRLResource resFormula,
GenerationContext gc,
net.sf.saxon.value.BooleanValue bindAsSequence,
FallbackValuesTable fbTable)
Creates the variables.
|
int |
getNumberOfVariables()
Gets the number of variables.
|
javax.xml.namespace.QName |
getOneVariableNameForSource()
Gets the one variable name for source.
|
java.lang.String |
getParsedExpression()
Gets the parsed expression.
|
static ExpressionParserResult |
parse(java.lang.String expression,
GenerationContext gc,
ExcelSheetPoint conceptPrefixPoint,
ExcelSheetPoint numbersPoint)
Parses the incoming expression and creates an object model that can be used to create variables.
|
public static ExpressionParserResult parse(java.lang.String expression, GenerationContext gc, ExcelSheetPoint conceptPrefixPoint, ExcelSheetPoint numbersPoint)
expression
- the expressiongc
- the gcconceptPrefixPoint
- the concept prefix pointnumbersPoint
- the numbers pointpublic javax.xml.namespace.QName getOneVariableNameForSource()
public int getNumberOfVariables()
public java.lang.String getParsedExpression()
public void createVariables(XBRLResource resFormula, GenerationContext gc, net.sf.saxon.value.BooleanValue bindAsSequence, FallbackValuesTable fbTable)
resFormula
- the res formulagc
- the gcbindAsSequence
- the bind as sequencefbTable
- the fb tableCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa