001/** 002 * Portions Copyright 2001 Sun Microsystems, Inc. 003 * Portions Copyright 1999-2001 Language Technologies Institute, 004 * Carnegie Mellon University. 005 * All Rights Reserved. Use is subject to license terms. 006 * 007 * See the file "license.terms" for information on usage and 008 * redistribution of this file, and for a DISCLAIMER OF ALL 009 * WARRANTIES. 010 */ 011package com.sun.speech.freetts; 012 013/** 014 * Implementors of this interface can be validated via the validate() 015 * method. 016 */ 017public interface Validator { 018 019 /** 020 * Validates a certain condition. 021 * 022 * @throws a ValidationException if the condition is invalid. 023 */ 024 public void validate() throws ValidationException; 025}