public class EditorSourceImpl extends java.lang.Object implements EditorSource
| Constructor and Description |
|---|
EditorSourceImpl()
Instantiates a new editor source impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConcept(javax.xml.namespace.QName concept)
Adds a new value to the concept aspect.
|
void |
addEntity(XBRLEntity entity)
Adds a new value to the entity aspect.
|
void |
addExplicitDimensionMemberValue(javax.xml.namespace.QName dimension,
javax.xml.namespace.QName member)
Adds a new member to the dimension aspect.
|
void |
addPeriod(XBRLPeriod period)
Adds a new value to the period aspect.
|
void |
addTypedDimensionMemberValue(javax.xml.namespace.QName dimension,
XMLFragment member)
Adds a new member to the dimension aspect.
|
void |
addUnit(XBRLUnit unit)
Adds a new value to the unit aspect.
|
void |
clear()
clear all information stored for all aspects.
|
void |
processAspect(int aspect,
javax.xml.namespace.QName dimensionName,
java.util.Set<?> set)
An EditorSource must implement this method.
|
void |
setDTSContainer(DTSContainer dts)
Convenient method to reset the EditorSource content.
|
public EditorSourceImpl()
public void addConcept(javax.xml.namespace.QName concept)
concept - the conceptpublic void addPeriod(XBRLPeriod period)
period - the periodpublic void addEntity(XBRLEntity entity)
entity - the entitypublic void addUnit(XBRLUnit unit)
unit - the unitpublic void addExplicitDimensionMemberValue(javax.xml.namespace.QName dimension,
javax.xml.namespace.QName member)
dimension - the dimensionmember - the memberpublic void addTypedDimensionMemberValue(javax.xml.namespace.QName dimension,
XMLFragment member)
dimension - the dimensionmember - the memberpublic void processAspect(int aspect,
javax.xml.namespace.QName dimensionName,
java.util.Set<?> set)
EditorSourceprocessAspect in interface EditorSourceaspect - this is the aspect code as defined in CommonAspectRuledimensionName - when the aspect
is com.ihr.xbrl.om.table.definition.CommonAspectRule.DIMENSION this parameter provides
the dimension nameset - this is the set that contains values from the instance. The EditorSource might add
new values to this setpublic void setDTSContainer(DTSContainer dts)
EditorSourcesetDTSContainer in interface EditorSourcedts - the dts to store information forpublic void clear()