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

msv.relames.src.com.sun.msv.schematron.jarv.RelamesSchemaImpl Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
/*
 * @(#)$Id: RelamesSchemaImpl.java 1498 2003-02-04 16:32:02Z kk122374 $
 *
 * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */
package com.sun.msv.schematron.jarv;

import org.iso_relax.verifier.Schema;
import org.iso_relax.verifier.Verifier;
import org.iso_relax.verifier.VerifierConfigurationException;

import com.sun.msv.grammar.Grammar;

/**
 * {@link Schema} implementation.
 * 
 * @author
 * 	Kohsuke Kawaguchi ([email protected])
 */
class RelamesSchemaImpl implements Schema {
    
    private final Grammar grammar;

    RelamesSchemaImpl( Grammar _grammar ) {
        this.grammar = _grammar;
    }
    
    public Verifier newVerifier() throws VerifierConfigurationException {
        return new RelamesVerifierImpl(grammar);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy