public class InstanceBuilder
extends java.lang.Object
| Constructor and Description | 
|---|
| InstanceBuilder() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | buildConcepts(XBRLInstance instance)Creates facts in the instance according to concepts
 in the DTS
 
 The instance MUST have at least one unit, one instant context and one duration context. | 
| void | buildFacts(XBRLFactsList fc,
          java.util.Iterator<?> iterC)Builds the facts. | 
| void | setBoolean(boolean boolean1)Sets the boolean. | 
| void | setCtxDurationBOP(XBRLContext ctxDurationBOP)Sets the ctx duration bop. | 
| void | setCtxDurationOther(XBRLContext ctxDurationOther)Sets the ctx duration other. | 
| void | setCtxInstantBOP(XBRLContext ctxInstantBOP)Sets the ctx instant bop. | 
| void | setCtxInstantOther(XBRLContext ctxInstantOther)Sets the ctx instant other. | 
| void | setDate(java.util.GregorianCalendar date)Sets the date. | 
| void | setFormatting(java.lang.String formatting)Sets the formatting. | 
| void | setNill(boolean nillable)Sets the nill. | 
| void | setNumber(java.lang.Number number)Sets the number. | 
| void | setPrecision(boolean b)Sets the precision. | 
| void | setString(java.lang.String string)Sets the string. | 
| void | setUnit(XBRLUnit unit)Sets the unit. | 
public void buildConcepts(XBRLInstance instance) throws InstanceBuilderException
instance - XBRLInstance, the instance that will be populated with new factsInstanceBuilderException - if the instance does not contain a unit or a required contextpublic void buildFacts(XBRLFactsList fc, java.util.Iterator<?> iterC)
fc - the fciterC - the iter cpublic void setNill(boolean nillable)
nillable - the new nillpublic void setString(java.lang.String string)
string - the new stringpublic void setBoolean(boolean boolean1)
boolean1 - the new booleanpublic void setNumber(java.lang.Number number)
number - the new numberpublic void setDate(java.util.GregorianCalendar date)
date - the new datepublic void setPrecision(boolean b)
b - the new precisionpublic void setFormatting(java.lang.String formatting)
formatting - the new formattingpublic void setCtxDurationBOP(XBRLContext ctxDurationBOP)
ctxDurationBOP - the new ctx duration boppublic void setCtxDurationOther(XBRLContext ctxDurationOther)
ctxDurationOther - the new ctx duration otherpublic void setCtxInstantBOP(XBRLContext ctxInstantBOP)
ctxInstantBOP - the new ctx instant boppublic void setCtxInstantOther(XBRLContext ctxInstantOther)
ctxInstantOther - the new ctx instant otherpublic void setUnit(XBRLUnit unit)
unit - the new unitCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa