Class XMLSchemaValidator.XSIErrorReporter
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.XMLSchemaValidator.XSIErrorReporter
-
- Enclosing class:
- XMLSchemaValidator
protected final class XMLSchemaValidator.XSIErrorReporter extends Object
A wrapper of the standard error reporter. We'll store all schema errors in this wrapper object, so that we can get all errors (error codes) of a specific element. This is useful for PSVI.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XSIErrorReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
mergeContext()
String[]
popContext()
void
pushContext()
void
reportError(String domain, String key, Object[] arguments, short severity)
void
reportError(XMLLocator location, String domain, String key, Object[] arguments, short severity)
void
reset(XMLErrorReporter errorReporter)
-
-
-
Method Detail
-
reset
public void reset(XMLErrorReporter errorReporter)
-
pushContext
public void pushContext()
-
popContext
public String[] popContext()
-
mergeContext
public String[] mergeContext()
-
reportError
public void reportError(String domain, String key, Object[] arguments, short severity) throws XNIException
- Throws:
XNIException
-
reportError
public void reportError(XMLLocator location, String domain, String key, Object[] arguments, short severity) throws XNIException
- Throws:
XNIException
-
-