![JAR search and dependency download from the Maven repository](/logo.png)
com.thaiopensource.relaxng.exceptions.AbstractValidationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jing Show documentation
Show all versions of jing Show documentation
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 org.xml.sax.SAXParseException;
import com.thaiopensource.relaxng.impl.SchemaBuilderImpl;
import com.thaiopensource.util.Localizer;
import com.thaiopensource.xml.util.Name;
public abstract class AbstractValidationException extends SAXParseException {
protected static final Localizer localizer = new Localizer(SchemaBuilderImpl.class);
private final Name currentElement;
private final Name parent;
AbstractValidationException(String formattedMessage, Locator locator, Name currentElement, Name parent) {
super(formattedMessage, locator);
this.currentElement = currentElement;
this.parent = parent;
}
/**
* Returns the currentElement.
*
* @return the currentElement
*/
public Name getCurrentElement() {
return currentElement;
}
/**
* Returns the parent.
*
* @return the parent
*/
public Name getParent() {
return parent;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy