package com.jxml.quick.ocm; // Open Conversion Model
import org.xml.sax.*;
import java.io.*;
import java.util.*;
import com.jxml.quick.*;

/**
 * Provides the functionality for validation.
 */
public interface OCMvalidator extends OCMsink
{
	public interface SubValidator extends OCMsink.SubSink
	{
		/**
		 * Returns true if the document is valid.
		 * @param doc The document to be validated.
		 */
		public void valid()
			throws OCMinvalidException, SAXException, IOException;

		/**
		 * Sets the config properties
		 */
		public void setProperties(Map properties);
	}
}
