public class LabelValidationRule extends AbstractValidationRule
Constructor and Description |
---|
LabelValidationRule() |
Modifier and Type | Method and Description |
---|---|
void |
checkLabelExtension()
Implements a rule that checks the label file extension.
|
boolean |
isApplicable(String location)
Tests whether a rule is applicable to a target location.
|
void |
validateLabel()
Parses the label and records any errors resulting from the parse,
including schema and schematron errors.
|
execute, getCaption, getChildContext, getContext, getListener, getParentTarget, getRegistrar, getTarget, reportError, reportError, setCaption
public boolean isApplicable(String location)
AbstractValidationRule
isApplicable
in interface ValidationRule
isApplicable
in class AbstractValidationRule
location
- the target location@ValidationTest public void checkLabelExtension()
@ValidationTest public void validateLabel()
Copyright © 2010–2016 Planetary Data System. All rights reserved.