public class XBRLAspectCoverFilter extends XBRLFormulaFilterBase
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>
XBRLValidation.Direction
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
aspect
The Constant aspect.
|
static javax.xml.namespace.QName |
dimension
The Constant dimension.
|
static javax.xml.namespace.QName |
excludeDimension
The Constant excludeDimension.
|
static javax.xml.namespace.QName |
qname
The Constant qname.
|
static javax.xml.namespace.QName |
qnameExpression
The Constant qnameExpression.
|
static javax.xml.namespace.QName |
resourceName
The Constant resourceName.
|
log
nullResource
actuate, ARC, arcrole, ETITLE, EXTENDED, from, href, label, LOCATOR, RESOURCE, role, show, SIMPLE, title, to, X_ACTUATE, X_ARCROLE, X_FROM, X_HREF, X_LABEL, X_ROLE, X_SHOW, X_TITLE, X_TO, X_TYPE, XLINKPREFIX
ADD_NAMESPACE_INHERIT, baseQName, CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, FACT_VALUE, HIDE_COMMON_ACCURACY, idQName, langQName, nil, NO_POSITION, OrderComparator, OrderComparator2, OrderComparatorReverse, PERIOD_BOP, PERIOD_TYPE, PERIOD_VALUE, RELATIONSHIP_TYPE, RESOURCE_TYPE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER
Constructor and Description |
---|
XBRLAspectCoverFilter(XBRLFormulaProcessor proc,
XBRLResource other)
Instantiates a new XBRL aspect cover filter.
|
Modifier and Type | Method and Description |
---|---|
void |
addExcludeDimensions(java.util.Set<javax.xml.namespace.QName> dimensionsToExclude)
Adds the exclude dimensions.
|
void |
addIncludeDimensions(java.util.Set<javax.xml.namespace.QName> dimensionsToInclude)
Adds the include dimensions.
|
static java.lang.String |
aspectToString(java.util.Set<Aspect> aspect)
Aspect to string.
|
void |
collectVariables(java.util.Collection<javax.xml.namespace.QName> col,
java.util.Collection<net.sf.saxon.s9api.QName> resolved)
Collect variables.
|
boolean |
compileFilter(java.util.Collection<net.sf.saxon.s9api.QName> preDefinedVariables)
Collect as much static information as possible about this filter.
|
java.util.Collection<? extends java.lang.Object> |
getAspectDistinctValuesFromDTS()
Gets the aspect distinct values from DTS.
|
java.lang.String |
getAspectsText()
This method produces a text string with information about dimensions included
and dimensions excluded in the aspect cover filter.
|
int |
getFilterWeight()
Gets the filter weight.
|
net.sf.saxon.tree.linked.NodeImpl |
getFirstChild() |
net.sf.saxon.tree.linked.NodeImpl |
getLastChild() |
int |
getNumberOfChildren() |
java.util.Set<Aspect> |
getRelatedAspect()
Gets the related aspect.
|
java.lang.String |
getXPathTerm(java.util.Collection<net.sf.saxon.s9api.QName> preDefinedVariables)
Gets the x path term.
|
boolean |
hasChildNodes() |
boolean |
isCoveringDimension(javax.xml.namespace.QName dimName,
boolean bIsCover)
Checks if is covering dimension.
|
boolean |
isDTSDependantOnly()
Checks if is DTS dependant only.
|
static java.util.Set<Aspect> |
parseAspect(java.lang.String value)
Converts from string representation to the aspect value in the enumeration.
|
void |
processFilters(java.util.Set<Aspect> allCoveredAspects,
java.util.Collection<XBRLFilterUse> vFilters,
boolean bIsCover)
'override' the cover state of aspects resulting from the application of the other filters.
|
compileFilter, isCompiled, toString
addRequiredVariable, clear, clearVariableSetDicoveredDuringExpressionCompilation, getProcessor, getRequiredVariableSetDiscoveredDuringExpressionCompilation, getResource
addChild, clone, clone, equals, generateNode, getAttributes, getCode, getDTSBase, getFriendlyName, getFriendlyName, getFriendlyName, getParentXBRL, getResourceIdentifier, getRoleType, getType, getValidationReport, getValueKey, hashCode, invalidate, invalidate, isComplexType, isHashDependsOnAtribute, isOnValidation, isSimpleType, setCode, setComplexType, setDTSBase, setId, setRawParentXBRL, setRole, setRoleType, setSimpleType, setValue, validate
getActuate, getArcrole, getFromTxt, getHRef, getHRefDocument, getHRefDocumentResolved, getHRefResolved, getLabel, getRawHRef, getReference, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo, validateXPointer
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getElements, getFirstChildNoComment, getFragment, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getInScopeNamespaces, getLang, getLastChildNoComment, getNamePool, getNamespaceBinding, getNamespaceURI, getNextSiblingNoComment, getNodeName, getNthElement, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParentDocument, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isNamespaceDefined, isNil, moveNamespacesUp, objEquals, objHashCode, reindex, removeChild, removeChildNode, removeFromRelationship, removeNamespace, removePropertyChangeListener, removeToRelationship, replace, replaceChild, replaceStringValue, resetElements, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setValue, setValue, setValue, setValue, setValue, setValue, setValue, valueEquals, xEqual
addAttribute, addNamespace, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, isId, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, setLocation, setNameCode, setNamespaceList, setSystemId, setTypeAnnotation
atomize, compareOrder, comparePosition, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getSiblingPosition, getSuccessorElement, getURI, head, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterate, iterateAxis, iterateAxis, newBuilder, replace
getLabel, getProcessor
public static final javax.xml.namespace.QName resourceName
public static final javax.xml.namespace.QName aspect
public static final javax.xml.namespace.QName dimension
public static final javax.xml.namespace.QName excludeDimension
public static final javax.xml.namespace.QName qname
public static final javax.xml.namespace.QName qnameExpression
public XBRLAspectCoverFilter(XBRLFormulaProcessor proc, XBRLResource other)
proc
- the procother
- the otherpublic static java.util.Set<Aspect> parseAspect(java.lang.String value)
value
- the valuepublic static java.lang.String aspectToString(java.util.Set<Aspect> aspect)
aspect
- the aspectpublic boolean compileFilter(java.util.Collection<net.sf.saxon.s9api.QName> preDefinedVariables)
preDefinedVariables
- the pre defined variablespublic java.lang.String getXPathTerm(java.util.Collection<net.sf.saxon.s9api.QName> preDefinedVariables) throws XFValidationException
preDefinedVariables
- the pre defined variablesXFValidationException
- the XF validation exceptionpublic java.util.Set<Aspect> getRelatedAspect()
public void collectVariables(java.util.Collection<javax.xml.namespace.QName> col, java.util.Collection<net.sf.saxon.s9api.QName> resolved)
col
- the colresolved
- the resolvedpublic int getFilterWeight()
public void processFilters(java.util.Set<Aspect> allCoveredAspects, java.util.Collection<XBRLFilterUse> vFilters, boolean bIsCover) throws XFValidationException
allCoveredAspects
- the all covered aspectsvFilters
- Vector of all filters to be considered together for the computation of the final result. One of the filters is this filterbIsCover
- this is the value of the cover="true" or cover="false" attribute on the relationship linking this filterUse with the variable setXFValidationException
- the XF validation exceptionpublic boolean isCoveringDimension(javax.xml.namespace.QName dimName, boolean bIsCover)
dimName
- the dim namebIsCover
- the b is coverpublic void addIncludeDimensions(java.util.Set<javax.xml.namespace.QName> dimensionsToInclude)
dimensionsToInclude
- the dimensions to includepublic void addExcludeDimensions(java.util.Set<javax.xml.namespace.QName> dimensionsToExclude)
dimensionsToExclude
- the dimensions to excludepublic java.lang.String getAspectsText()
public boolean isDTSDependantOnly()
public java.util.Collection<? extends java.lang.Object> getAspectDistinctValuesFromDTS()
public final boolean hasChildNodes()
hasChildNodes
in interface net.sf.saxon.om.NodeInfo
hasChildNodes
in class net.sf.saxon.tree.linked.NodeImpl
public final int getNumberOfChildren()
public final net.sf.saxon.tree.linked.NodeImpl getFirstChild()
getFirstChild
in interface net.sf.saxon.tree.util.SteppingNode<net.sf.saxon.tree.linked.NodeImpl>
getFirstChild
in class net.sf.saxon.tree.linked.NodeImpl
public final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild
in class net.sf.saxon.tree.linked.NodeImpl
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa