public class XBRLSchemaErrorListener
extends java.lang.Object
implements javax.xml.transform.ErrorListener
addXBRLSchemaErrorListener
method. When
the XBRLSchemaError event occurs, that object's appropriate
method is invoked.Constructor and Description |
---|
XBRLSchemaErrorListener() |
Modifier and Type | Method and Description |
---|---|
void |
addToException(java.lang.Throwable parentException)
Add all errors are suppressed exceptions of the
parentException . |
void |
clear()
Removes all received messages.
|
void |
error(javax.xml.transform.TransformerException exception)
Error.
|
void |
fatalError(javax.xml.transform.TransformerException exception)
Fatal error.
|
void |
fixup()
check and remove two inconsistencies that are raised when XML Schemas are
validated against the schema for schemas.
|
java.util.Collection<javax.xml.transform.TransformerException> |
getErrors()
Get access to the collection of errors stored.
|
java.util.Collection<javax.xml.transform.TransformerException> |
getFatalErrors()
Get access to the collection of fatal errors stored.
|
java.lang.String |
getPreparedErrorMessage()
Prepares a single string message collecting messages from errors captured.
|
XBRLValidationReport |
merge(XBRLValidationReport incomingReport)
add errors and warnings to the incoming XBRLValidation report.
|
void |
setIgnoreFatalErrors(boolean value)
Shall be set when editing a fact in the GUI.
|
void |
warning(javax.xml.transform.TransformerException exception)
Warning.
|
public void error(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
error
in interface javax.xml.transform.ErrorListener
exception
- the exceptionjavax.xml.transform.TransformerException
- the transformer exceptionpublic java.util.Collection<javax.xml.transform.TransformerException> getErrors()
public void fatalError(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
fatalError
in interface javax.xml.transform.ErrorListener
exception
- the exceptionjavax.xml.transform.TransformerException
- the transformer exceptionpublic java.util.Collection<javax.xml.transform.TransformerException> getFatalErrors()
public void setIgnoreFatalErrors(boolean value)
value
- the new ignore fatal errorspublic void warning(javax.xml.transform.TransformerException exception) throws javax.xml.transform.TransformerException
warning
in interface javax.xml.transform.ErrorListener
exception
- the exceptionjavax.xml.transform.TransformerException
- the transformer exceptionpublic void clear()
public XBRLValidationReport merge(XBRLValidationReport incomingReport)
incomingReport
- the incoming reportpublic void fixup()
public java.lang.String getPreparedErrorMessage()
public void addToException(java.lang.Throwable parentException)
parentException
.parentException
- the parent exception all errors will be added toCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa