com.sun.msv.reader.GrammarReaderController Maven / Gradle / Ivy
/*
* @(#)$Id: GrammarReaderController.java,v 1.9 2003/06/09 20:37:23 kk122374 Exp $
*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
package com.sun.msv.reader;
import org.xml.sax.EntityResolver;
import org.xml.sax.Locator;
/**
* Event notification interface for controlling grammar parsing process.
*
*
* - receives notification of errors and warnings while parsing a grammar
*
- controls how inclusion of other grammars are processed (through
* {@link EntityResolver}.
*
*
* @author Kohsuke KAWAGUCHI
*/
public interface GrammarReaderController extends EntityResolver
{
void warning( Locator[] locs, String errorMessage );
void error( Locator[] locs, String errorMessage, Exception nestedException );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy