public class FlVariableResolver extends java.lang.Object implements XBRLVariableResolver
| Modifier and Type | Field and Description |
|---|---|
java.util.logging.Logger |
logger
The logger.
|
| Constructor and Description |
|---|
FlVariableResolver(FlFormulaProcessor fp)
Instantiates a new fl variable resolver.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bindVariableValues(net.sf.saxon.s9api.XPathSelector xpathExpression)
Bind variable values.
|
void |
checkVariablesFrom(XBRLVariableResolver res)
Check variable declarations in res and existing variable declarations
Add only new variables and update values for existing variables.
|
void |
clear()
Clear.
|
void |
declareVariables(net.sf.saxon.s9api.XPathCompiler compiler)
Declares all variables into the compiler object.
|
java.util.Iterator<javax.xml.namespace.QName> |
getVariableNames()
Returns an iterator over all variables defined.
|
void |
put(javax.xml.namespace.QName name,
java.lang.Object value)
Put.
|
java.lang.Object |
resolveVariable(javax.xml.namespace.QName variableName) |
public FlVariableResolver(FlFormulaProcessor fp)
fp - the fppublic java.lang.Object resolveVariable(javax.xml.namespace.QName variableName)
resolveVariable in interface javax.xml.xpath.XPathVariableResolverpublic void clear()
public void put(javax.xml.namespace.QName name,
java.lang.Object value)
name - the namevalue - the valuepublic void declareVariables(net.sf.saxon.s9api.XPathCompiler compiler)
XBRLVariableResolverdeclareVariables in interface XBRLVariableResolvercompiler - the compilerpublic void bindVariableValues(net.sf.saxon.s9api.XPathSelector xpathExpression)
bindVariableValues in interface XBRLVariableResolverxpathExpression - the xpath expressionpublic void checkVariablesFrom(XBRLVariableResolver res)
XBRLVariableResolvercheckVariablesFrom in interface XBRLVariableResolverres - the respublic java.util.Iterator<javax.xml.namespace.QName> getVariableNames()
XBRLVariableResolvergetVariableNames in interface XBRLVariableResolverCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa