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

com.thaiopensource.relaxng.exceptions.UnfinishedElementOneOfException 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.exceptions;

import org.xml.sax.Locator;

import com.thaiopensource.relaxng.impl.NameFormatter;
import com.thaiopensource.xml.util.Name;

import java.util.Set;

public class UnfinishedElementOneOfException extends AbstractValidationException {

    private Set missingElementNames;

    public UnfinishedElementOneOfException(Locator locator,
            Name currentElement, Set missingElementNames, Name parent) {
        super(localizer.message("unfinished_element_one_of", NameFormatter.format(currentElement), missingElementNames.toString()), locator, currentElement, parent);
        this.missingElementNames = missingElementNames;
    }

    public Set getMissingElementNames() {
      return missingElementNames;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy