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

com.thaiopensource.relaxng.exceptions.RequiredAttributesMissingOneOfException 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 RequiredAttributesMissingOneOfException extends AbstractValidationException {

    Set attributeLocalNames;

    public RequiredAttributesMissingOneOfException(Locator locator,
          Name currentElement, Set attributeLocalNames, Name parent) {
      super(localizer.message("required_attributes_missing_one_of", NameFormatter.format(currentElement), attributeLocalNames.toString()), locator, currentElement, parent);
      this.attributeLocalNames = attributeLocalNames;
    }

    public Set getAttributeLocalNames() {
      return attributeLocalNames;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy