|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextProvider
This interface provides methods that are able to provide compatible contexts for a XBRLFactItem while it stores all XBRLContexts in an instance document, only those that belongs to the same "column" are "compatible" contexts for a XBRLFactItem. An instance of this class stores information about the contexts associated with a "column" and provides a list of "compatible" contexts for a XBRLFactItem. This class can be used to prepare a pop-up menu so the user can choose the context to apply for a XBRLFact item inside a XBRLGFactNumeric or XBRLGFactNonNumeric object
| Method Summary | |
|---|---|
void |
addContext(XBRLContext newContext,
int dateStep)
Adds a new context to this context provider. |
void |
factChangedContext(XBRLFactItem fact,
XBRLContext oldContext,
XBRLContext newContext)
Informs the Context provider that the fact has changed its context information. |
java.util.Iterator<XBRLContext> |
getCompatibleContexts(XBRLFactItem fact,
int dateStep)
Returns an iterator over compatible contexts for this fact. |
| Method Detail |
|---|
java.util.Iterator<XBRLContext> getCompatibleContexts(XBRLFactItem fact,
int dateStep)
fact - dateStep -
void addContext(XBRLContext newContext,
int dateStep)
newContext - XBRLContext to adddateStep - the value of the dateStep container for the new context
void factChangedContext(XBRLFactItem fact,
XBRLContext oldContext,
XBRLContext newContext)
fact - oldContext - newContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||