public class MultiFormulaParameterResolver extends java.util.LinkedList<XBRLFormulaParametersResolver> implements XBRLFormulaParametersResolver
When a parameter value is needed, all parameter resolvers are asked for a value in the order indicated in the vector. If able to supply the value exist, then it is used. If none are found then null is returned as indicated in the XBRLFormulaParametersResovler interface.
Constructor and Description |
---|
MultiFormulaParameterResolver()
Instantiates a new multi formula parameter resolver.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.namespace.QName |
getParameterDataType(javax.xml.namespace.QName name)
Gets the parameter data type.
|
net.sf.saxon.s9api.XdmAtomicValue |
getParameterValue(javax.xml.namespace.QName name,
net.sf.saxon.s9api.Processor proc,
javax.xml.namespace.QName dataType,
XBRLVariableParameter parameter)
Gets the parameter value.
|
boolean |
hasValueForParameter(javax.xml.namespace.QName name,
javax.xml.namespace.QName dataType,
XBRLVariableParameter parameter)
Checks for value for parameter.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
containsAll, isEmpty, removeAll, retainAll, toString
public MultiFormulaParameterResolver()
public javax.xml.namespace.QName getParameterDataType(javax.xml.namespace.QName name)
getParameterDataType
in interface XBRLFormulaParametersResolver
name
- the namepublic net.sf.saxon.s9api.XdmAtomicValue getParameterValue(javax.xml.namespace.QName name, net.sf.saxon.s9api.Processor proc, javax.xml.namespace.QName dataType, XBRLVariableParameter parameter)
getParameterValue
in interface XBRLFormulaParametersResolver
name
- the nameproc
- the procdataType
- the data typeparameter
- the parameterpublic boolean hasValueForParameter(javax.xml.namespace.QName name, javax.xml.namespace.QName dataType, XBRLVariableParameter parameter)
hasValueForParameter
in interface XBRLFormulaParametersResolver
name
- the namedataType
- the data typeparameter
- the parameterCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa