
isorelax.src.jp.gr.xml.relax.sax.DTDSkipper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxb1-impl Show documentation
Show all versions of jaxb1-impl Show documentation
JAXB (JSR 222) reference implementation - JAXB1 build
The newest version!
package jp.gr.xml.relax.sax;
import java.io.StringReader;
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
public class DTDSkipper
implements EntityResolver {
public DTDSkipper() {
}
public InputSource resolveEntity(String s, String s1) {
if(!s1.endsWith(".dtd")) {
return null;
} else {
StringReader stringreader = new StringReader("");
InputSource inputsource = new InputSource(stringreader);
return inputsource;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy