All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.msv.reader.GrammarReaderController Maven / Gradle / Ivy

There is a newer version: 2.2.5.1
Show newest version
/*
 * @(#)$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.
 * 
 * 
    *
  1. receives notification of errors and warnings while parsing a grammar *
  2. 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