jp.gr.xml.relax.dtd.DTDVerifierFactory_ Maven / Gradle / Ivy
package jp.gr.xml.relax.dtd;
import java.io.IOException;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.SAXNotRecognizedException;
import org.xml.sax.SAXNotSupportedException;
import org.iso_relax.verifier.VerifierFactory;
import org.iso_relax.verifier.Verifier;
import org.iso_relax.verifier.VerifierConfigurationException;
import org.iso_relax.verifier.VerifierException;
/**
* DTDVerifierFactory
*
* @since Mar. 14, 2001
* @version Mar. 14, 2001
* @author ASAMI, Tomoharu ([email protected])
*/
public class DTDVerifierFactory extends VerifierFactory {
public boolean isFeature(String feature)
throws SAXNotRecognizedException, SAXNotSupportedException {
throw (new SAXNotRecognizedException(feature));
}
public void setFeature(String feature, boolean value)
throws SAXNotRecognizedException, SAXNotSupportedException {
throw (new SAXNotRecognizedException(feature));
}
public Object getProperty(String property)
throws SAXNotRecognizedException, SAXNotSupportedException {
throw (new SAXNotRecognizedException(property));
}
public void setProperty(String property, Object value)
throws SAXNotRecognizedException, SAXNotSupportedException {
throw (new SAXNotRecognizedException(property));
}
public Verifier newVerifier(
String uri
) throws VerifierConfigurationException, SAXException, IOException {
return (new DTDVerifier(uri));
}
public Verifier newVerifier(
InputSource source
) throws VerifierConfigurationException, SAXException, IOException {
return (new DTDVerifier(source));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy