org.apache.xerces.impl.xs

Class XMLSchemaValidator.XSIErrorReporter

Enclosing Class:
XMLSchemaValidator

protected final class XMLSchemaValidator.XSIErrorReporter
extends java.lang.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.

Method Summary

String[]
mergeContext()
String[]
popContext()
void
pushContext()
void
reportError(String domain, String key, Object[] arguments, short severity)
void
reportError(org.apache.xerces.xni.XMLLocator location, String domain, String key, Object[] arguments, short severity)
void
reset(XMLErrorReporter errorReporter)

Method Details

mergeContext

public String[] mergeContext()

popContext

public String[] popContext()

pushContext

public void pushContext()

reportError

public void reportError(String domain,
                        String key,
                        Object[] arguments,
                        short severity)
            throws org.apache.xerces.xni.XNIException

reportError

public void reportError(org.apache.xerces.xni.XMLLocator location,
                        String domain,
                        String key,
                        Object[] arguments,
                        short severity)
            throws org.apache.xerces.xni.XNIException

reset

public void reset(XMLErrorReporter errorReporter)

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.