public class LinkableErrorMessageHelpers
extends java.lang.Object
Constructor and Description |
---|
LinkableErrorMessageHelpers() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHierarchicalMessage(MessageTree tree,
java.lang.Object anchor,
KeysForFactsProvider kp,
boolean messageInHTML)
Generates a tree the user can click on and open additional messages behind.
|
static java.lang.String |
getLinkForFact(XBRLFact fact,
XBRLRoleType role,
KeysForFactsProvider kp)
Gets the link for fact.
|
static java.lang.String |
getLinkForFact(XBRLFact fact,
XBRLRoleType role,
KeysForFactsProvider kp,
int modifiers,
LabelsProvider lp)
Gets the link for fact.
|
static java.lang.String |
getLinkForFixReplaceReportedValueWithCalculatedValue(XBRLFactNumeric fact,
XBRLNumber accumulated,
KeysForFactsProvider kp)
Generates a form with a button that shows a message to replace reported value with accumulated value.
|
public static java.lang.String getLinkForFact(XBRLFact fact, XBRLRoleType role, KeysForFactsProvider kp)
fact
- the factrole
- where the fact could be found (hint, may be null)kp
- the kppublic static java.lang.String getLinkForFact(XBRLFact fact, XBRLRoleType role, KeysForFactsProvider kp, int modifiers, LabelsProvider lp)
fact
- the factrole
- the rolekp
- the kpmodifiers
- the modifierslp
- the lppublic static java.lang.String getHierarchicalMessage(MessageTree tree, java.lang.Object anchor, KeysForFactsProvider kp, boolean messageInHTML)
tree
- the treeanchor
- the anchorkp
- the kpmessageInHTML
- if true, the branch message is already in HTML and no conversion to HTML is neededpublic static java.lang.String getLinkForFixReplaceReportedValueWithCalculatedValue(XBRLFactNumeric fact, XBRLNumber accumulated, KeysForFactsProvider kp)
fact
- the factaccumulated
- the accumulatedkp
- the kpCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa