All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thaiopensource.relaxng.parse.sax.SAXSubParser Maven / Gradle / Ivy

Go to download

A branch of Jing used by the Nu Html Checker. (Jing is a tool for validating documents against RelaxNG schemas.)

The newest version!
package com.thaiopensource.relaxng.parse.sax;

import com.thaiopensource.relaxng.parse.BuildException;
import com.thaiopensource.relaxng.parse.SubParseable;
import com.thaiopensource.relaxng.parse.SubParser;
import org.xml.sax.ErrorHandler;

public class SAXSubParser implements SubParser {
  final UriResolver resolver;
  final ErrorHandler eh;

  SAXSubParser(UriResolver resolver, ErrorHandler eh) {
    this.resolver = resolver;
    this.eh = eh;
  }

  public SubParseable createSubParseable(String href, String base) throws BuildException {
    return new SAXParseable(resolver.resolve(href, base), resolver, eh);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy