public class AspectsConsolidator
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
AspectsConsolidator(AspectsConsolidator other)
Instantiates a new aspects consolidator.
|
AspectsConsolidator(XBRLDefinitionNodeUse base)
Instantiates a new aspects consolidator.
|
Modifier and Type | Method and Description |
---|---|
void |
addMergeAspect(Aspect<?> as)
Adds the merge aspect.
|
void |
clear()
Clear.
|
void |
clearMergeAspects()
Clear merge aspects.
|
AspectsConsolidator |
clone()
Clone.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.Object,AspectAndDistanceToLeaf>> |
collectAspects()
Collect aspects on this node and returns a structure with aspects indexed by tag.
|
java.util.Iterator<AspectAndDistanceToLeaf> |
getLocalAspects(java.lang.String tag)
Allows to iterate all aspects on this node.
|
java.util.Iterator<java.lang.String> |
getLocalTags()
Gets the local tags.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.Object,AspectAndDistanceToLeaf>> |
getMergeAspects()
Gets the merge aspects.
|
boolean |
hasAspect(Aspect<?> aspect)
if this structural node contains the aspect passed in as a parameter, then the
cell header in header is returned.
|
public AspectsConsolidator(XBRLDefinitionNodeUse base)
base
- the basepublic AspectsConsolidator(AspectsConsolidator other)
other
- the otherpublic AspectsConsolidator clone()
clone
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.Map<java.lang.Object,AspectAndDistanceToLeaf>> collectAspects()
public boolean hasAspect(Aspect<?> aspect)
aspect
- the aspectpublic java.util.Iterator<java.lang.String> getLocalTags()
public java.util.Iterator<AspectAndDistanceToLeaf> getLocalAspects(java.lang.String tag)
tag
- the tagpublic void addMergeAspect(Aspect<?> as)
as
- the aspublic java.util.Map<java.lang.String,java.util.Map<java.lang.Object,AspectAndDistanceToLeaf>> getMergeAspects()
public void clearMergeAspects()
public void clear()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa