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

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

public class ImpossibleAttributeIgnoredException extends AbstractValidationException {

    private final Name attributeName;
    
    public ImpossibleAttributeIgnoredException(Locator locator,
            Name currentElement, Name parent, Name attributeName) {
        super(localizer.message("impossible_attribute_ignored", NameFormatter.format(attributeName), NameFormatter.format(currentElement)), locator, currentElement, parent);
        this.attributeName = attributeName;
    }

    /**
     * Returns the attributeName.
     * 
     * @return the attributeName
     */
    public Name getAttributeName() {
        return attributeName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy