public abstract class AbstractValidator extends java.lang.Object implements Validator
MODEL_ERROR
Constructor and Description |
---|
AbstractValidator() |
Modifier and Type | Method and Description |
---|---|
protected ValidationEvent |
createEvent(Severity severity,
Shape shape,
FromSourceLocation loc,
java.lang.String msg) |
protected ValidationEvent |
createEvent(Severity severity,
Shape shape,
java.lang.String message) |
protected ValidationEvent |
danger(Shape shape,
FromSourceLocation location,
java.lang.String message) |
protected ValidationEvent |
danger(Shape shape,
java.lang.String message) |
protected ValidationEvent |
error(Shape shape,
FromSourceLocation location,
java.lang.String message) |
protected ValidationEvent |
error(Shape shape,
java.lang.String message) |
java.lang.String |
getName() |
protected ValidationEvent |
note(Shape shape,
FromSourceLocation location,
java.lang.String message) |
protected ValidationEvent |
note(Shape shape,
java.lang.String message) |
protected ValidationEvent |
warning(Shape shape,
FromSourceLocation location,
java.lang.String message) |
protected ValidationEvent |
warning(Shape shape,
java.lang.String message) |
public java.lang.String getName()
protected final ValidationEvent error(Shape shape, java.lang.String message)
protected final ValidationEvent error(Shape shape, FromSourceLocation location, java.lang.String message)
protected final ValidationEvent danger(Shape shape, java.lang.String message)
protected final ValidationEvent danger(Shape shape, FromSourceLocation location, java.lang.String message)
protected final ValidationEvent warning(Shape shape, java.lang.String message)
protected final ValidationEvent warning(Shape shape, FromSourceLocation location, java.lang.String message)
protected final ValidationEvent note(Shape shape, java.lang.String message)
protected final ValidationEvent note(Shape shape, FromSourceLocation location, java.lang.String message)
protected final ValidationEvent createEvent(Severity severity, Shape shape, java.lang.String message)
protected final ValidationEvent createEvent(Severity severity, Shape shape, FromSourceLocation loc, java.lang.String msg)