|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XBRLValidationReport
public class XBRLValidationReport
This objects holds the result of the XBRL validation
| Constructor Summary | |
|---|---|
XBRLValidationReport(DTSContainer dts)
Creates a new empty validation report |
|
| Method Summary | |
|---|---|
void |
addException(XBRLValidationException e)
Adds a new error to this report. |
void |
addInconsistency(XBRLInconsistency e)
Adds an inconsistency to thie report. |
void |
clear()
Clear all exceptions and inconsistencies in this report |
DTSContainer |
getContainer()
Access to the DTSContainer object for which this XBRLValidationReport has been created |
java.util.Iterator<XBRLValidationException> |
getExceptions()
Access to the exceptions in this report |
int |
getExceptionsCount()
Returns the number of exceptions in the report |
XBRLInstance |
getFormulaProcessorGeneratedInstance()
If the DTS contains formula linkbases this method returns the output instance generated using formulas |
java.util.Iterator<XBRLInconsistency> |
getInconsistencies()
Access to the inconsistencies in this report |
int |
getInconsistenciesCount()
Returns the number of inconsistencies in the report |
void |
inconsistenciesAsExceptions()
Considers the inconsistencias as XBRLValidationExceptions Useful to be consistent with old versions of the library |
void |
merge(XBRLValidationReport other)
Adds to this report the content of another XBRLVersioningReport. |
void |
removeExceptions(int code)
Remove from current report all exceptions that matches the code indicated in the parameter |
void |
serialize(XBRLValidationReportSerializer serializer)
Sends the current report to the report serializer. |
void |
setFormulaInstance(XBRLInstance instance)
Used by the processor internally to set the generated instance |
void |
throwExceptions()
If the report contains XBRL Errors this method takes one of them and throws it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLValidationReport(DTSContainer dts)
| Method Detail |
|---|
public void merge(XBRLValidationReport other)
other - XBRLVersioningReport whose content will be added to this report
public void inconsistenciesAsExceptions()
throws XBRLValidationException
XBRLValidationExceptionpublic void addException(XBRLValidationException e)
e - public void addInconsistency(XBRLInconsistency e)
e -
public void throwExceptions()
throws XBRLValidationException
XBRLValidationExceptionpublic java.util.Iterator<XBRLValidationException> getExceptions()
public java.util.Iterator<XBRLInconsistency> getInconsistencies()
public void clear()
public void removeExceptions(int code)
code - a constact defined in the XBRLValidationException classpublic XBRLInstance getFormulaProcessorGeneratedInstance()
public void setFormulaInstance(XBRLInstance instance)
instance - public DTSContainer getContainer()
public void serialize(XBRLValidationReportSerializer serializer)
serializer - public int getExceptionsCount()
public int getInconsistenciesCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||