public class XFIImplicitFilterOptimizer extends java.lang.Object implements Filter
| Modifier and Type | Class and Description |
|---|---|
static class |
XFIImplicitFilterOptimizer.Type
The Enum Type.
|
| Constructor and Description |
|---|
XFIImplicitFilterOptimizer(int aspectModel,
int uncoveredAspects)
Instantiates a new XFI implicit filter optimizer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUseFallback(javax.xml.namespace.QName variableName)
Can use fallback.
|
boolean |
checkUncoveredAspects(XBRLFact fact)
Returns true then the fact passed in matches all uncovered aspects in fact previously set.
|
java.util.ArrayList<net.sf.saxon.om.Item<?>> |
getOptimizedListIterator(XFIImplicitFilterOptimizer.Type t)
Gets the optimized list iterator.
|
boolean |
isOptimizedSet()
Checks if is optimized set.
|
boolean |
passes(javax.xml.namespace.QName varName,
net.sf.saxon.s9api.XdmValue value,
boolean bBindToDefault)
Passes.
|
void |
recoverLevel(int level)
Recover level.
|
void |
reset()
Prepares the optimizer for a new evaluation cycle.
|
void |
restartFilter()
Restart filter.
|
void |
setFactReference(XBRLFact fact,
javax.xml.namespace.QName variableName,
boolean bBindToDefault)
Sets the fact reference.
|
void |
setOptimizedListIterator(java.util.ArrayList<net.sf.saxon.om.Item<?>> al,
XFIImplicitFilterOptimizer.Type t)
Sets the optimized list iterator.
|
void |
setTree(XBRLVariableTree tree)
Sets the tree.
|
void |
setVariableName(XBRLVariableFact variable,
javax.xml.namespace.QName variableName)
Sets the variable name.
|
public XFIImplicitFilterOptimizer(int aspectModel,
int uncoveredAspects)
aspectModel - the aspect modeluncoveredAspects - the uncovered aspectspublic void setVariableName(XBRLVariableFact variable, javax.xml.namespace.QName variableName)
variable - the variablevariableName - the variable namepublic void setFactReference(XBRLFact fact, javax.xml.namespace.QName variableName, boolean bBindToDefault)
fact - the factvariableName - the variable namebBindToDefault - the b bind to defaultpublic void recoverLevel(int level)
level - the levelpublic boolean canUseFallback(javax.xml.namespace.QName variableName)
variableName - the variable namepublic java.util.ArrayList<net.sf.saxon.om.Item<?>> getOptimizedListIterator(XFIImplicitFilterOptimizer.Type t)
t - the tpublic void setOptimizedListIterator(java.util.ArrayList<net.sf.saxon.om.Item<?>> al,
XFIImplicitFilterOptimizer.Type t)
al - the alt - the tpublic boolean checkUncoveredAspects(XBRLFact fact)
fact - the factpublic void reset()
public boolean isOptimizedSet()
public void setTree(XBRLVariableTree tree)
tree - the new treepublic boolean passes(javax.xml.namespace.QName varName,
net.sf.saxon.s9api.XdmValue value,
boolean bBindToDefault)
Filterpublic void restartFilter()