|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.FunctionCall
com.ihr.xbrl.om.formula.functions.XFFunction
com.ihr.xbrl.om.formula.functions.XFI_filter_member_network_selection
public class XFI_filter_member_network_selection
The existence of this function in the functions conformance suite makes me wonder if the authors of the functions specification has ever understood the XBRL Dimensions Specification 1.0.
The function has parameters dimension QName and Member QName for start exploring for more members in the same domain. Surprisingly the function does not considers the concept QName which is supposed to make USE OF THE DIMENSION through an hypercube. It looks like the authors of the functions specification took a very syntactical approach to the dimensions specification rather than an object model approach in which an object is declared once and used multiple times. Certainly, the Dimensions Specification was written with the idea of being able to redefine a dimension members each time a dimension is used in a concept and this function is ignoring this capability.
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, PROCESS_METHOD, PUSH_SELECTION, WATCH_METHOD |
| Constructor Summary | |
|---|---|
XFI_filter_member_network_selection()
|
|
| Method Summary | |
|---|---|
net.sf.saxon.om.SequenceIterator |
iterate(net.sf.saxon.expr.XPathContext context)
|
net.sf.saxon.expr.Expression |
optimize(net.sf.saxon.expr.ExpressionVisitor visitor,
net.sf.saxon.type.ItemType contextItemType)
Perform optimisation of an expression and its subexpressions. |
net.sf.saxon.expr.Expression |
typeCheck(net.sf.saxon.expr.ExpressionVisitor visitor,
net.sf.saxon.type.ItemType contextItemType)
|
| Methods inherited from class com.ihr.xbrl.om.formula.functions.XFFunction |
|---|
addDocToPathMap, checkArguments, computeCardinality, computeSpecialProperties, copy, getDetails, getErrorCodeForTypeErrors, getFormulaProcessor, getItemType, makeSystemFunction, setDetails, setFormulaProcessor |
| Methods inherited from class net.sf.saxon.expr.FunctionCall |
|---|
addExternalFunctionCallToPathMap, equals, explain, getArguments, getDisplayName, getExpressionName, getFunctionName, getNumberOfArguments, hashCode, iterateSubExpressions, preEvaluate, promote, replaceSubExpression, setArguments, setFunctionName, simplify, toString |
| Methods inherited from class net.sf.saxon.expr.Expression |
|---|
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, effectiveBooleanValue, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, process, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XFI_filter_member_network_selection()
| Method Detail |
|---|
public net.sf.saxon.om.SequenceIterator iterate(net.sf.saxon.expr.XPathContext context)
throws net.sf.saxon.trans.XPathException
iterate in interface net.sf.saxon.expr.SequenceIterableiterate in class net.sf.saxon.expr.Expressionnet.sf.saxon.trans.XPathException
public net.sf.saxon.expr.Expression typeCheck(net.sf.saxon.expr.ExpressionVisitor visitor,
net.sf.saxon.type.ItemType contextItemType)
throws net.sf.saxon.trans.XPathException
typeCheck in class net.sf.saxon.expr.FunctionCallnet.sf.saxon.trans.XPathException
public net.sf.saxon.expr.Expression optimize(net.sf.saxon.expr.ExpressionVisitor visitor,
net.sf.saxon.type.ItemType contextItemType)
throws net.sf.saxon.trans.XPathException
XFFunctionThis method is called after all references to functions and variables have been resolved to the declaration of the function or variable, and after all type checking has been done.
optimize in class XFFunctionvisitor - an expression visitorcontextItemType - the static type of "." at the point where this expression is invoked.
The parameter is set to null if it is known statically that the context item will be undefined.
If the type of the context item is not known statically, the argument is set to
Type.ITEM_TYPE
net.sf.saxon.trans.XPathException - if an error is discovered during this phase
(typically a type error)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||