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

org.znerd.logdoc.NamedSchema Maven / Gradle / Ivy

There is a newer version: 1.0-rc3
Show newest version
// See the COPYRIGHT file for copyright and license information
package org.znerd.logdoc;

import javax.xml.validation.Schema;
import javax.xml.validation.Validator;

class NamedSchema {
    private final String name;
    private final Schema schema;

    public NamedSchema(String name, Schema schema) {
        this.name = name;
        this.schema = schema;
    }

    public String getName() {
        return name;
    }

    public Schema getSchema() {
        return schema;
    }

    public Validator newValidator() {
        return schema.newValidator();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy