![JAR search and dependency download from the Maven repository](/logo.png)
com.thaiopensource.relaxng.input.parse.sax.SAXParseInputFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trang Show documentation
Show all versions of trang Show documentation
Trang, a multi-format schema converter based on RELAX NG.
package com.thaiopensource.relaxng.input.parse.sax;
import com.thaiopensource.relaxng.input.parse.ParseInputFormat;
import com.thaiopensource.relaxng.input.parse.ElementAnnotationBuilderImpl;
import com.thaiopensource.relaxng.input.parse.CommentListImpl;
import com.thaiopensource.relaxng.input.parse.AnnotationsImpl;
import com.thaiopensource.relaxng.parse.Parseable;
import com.thaiopensource.relaxng.parse.sax.SAXParseable;
import com.thaiopensource.relaxng.edit.Pattern;
import com.thaiopensource.relaxng.edit.NameClass;
import com.thaiopensource.relaxng.edit.SourceLocation;
import com.thaiopensource.resolver.xml.sax.SAXResolver;
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import javax.xml.transform.sax.SAXSource;
public class SAXParseInputFormat extends ParseInputFormat {
public SAXParseInputFormat() {
super(true);
}
public Parseable makeParseable(InputSource in, SAXResolver resolver, ErrorHandler eh) throws SAXException {
return new SAXParseable(new SAXSource(resolver.createXMLReader(), in), resolver, eh);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy