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

com.thaiopensource.relaxng.impl.MatchablePatternImpl 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.impl;

import com.thaiopensource.relaxng.match.MatchablePattern;
import com.thaiopensource.relaxng.match.Matcher;

public class MatchablePatternImpl implements MatchablePattern {
  private final SchemaPatternBuilder spb;
  private final Pattern start;

  public MatchablePatternImpl(SchemaPatternBuilder spb, Pattern start) {
    this.spb = spb;
    this.start = start;
  }

  public Matcher createMatcher() {
    return new PatternMatcher(start, new ValidatorPatternBuilder(spb));
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy