20 package net.sf.gridarta.model.anim;
27 import org.jetbrains.annotations.NotNull;
61 public void validate(@NotNull
final Iterable<AnimationObject> animationObjects) {
73 if (!faceName.startsWith(
"facings ")) {
Utility class for string manipulation.
void validate(@NotNull final Iterable< AnimationObject > animationObjects)
Validates a set of AnimationObjects.
Common interface for FaceObject.
static final Pattern PATTERN_NEWLINE
The pattern that matches a single newline ("\n").
final FaceObjects faceObjects
The FaceObjects instance for looking up face names.
void addWarning(@NotNull ErrorViewCategory categoryName, @NotNull String message)
Adds a warning message.
Defines possible error categories for ErrorView instances.
Interface for classes displaying error messages.
Base package of all Gridarta classes.
E get(@NotNull String objectName)
Gets a AbstractNamedObject.
An AnimationObject reflects the animation ("@code anim\n @endcode " ...
void validateAnimation(@NotNull final AnimationObject animationObject)
Validates an AnimationObject instance.
FaceObjects is a container for FaceObjects.
AnimationValidator(@NotNull final FaceObjects faceObjects, @NotNull final ErrorView errorView)
Creates a new instance.
The face is the appearance of an object.
Utility class for validating AnimationObject instances.
final ErrorView errorView
The ErrorView for reporting errors.