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, isDebugLogLevel, isInfoLogLevel, reportError, reportError, setCaption, verifyLidPrefixpublic LabelValidationRule()
throws TransformerConfigurationException
public boolean isApplicable(String location)
AbstractValidationRuleisApplicable in interface ValidationRuleisApplicable in class AbstractValidationRulelocation - the target location@ValidationTest public void checkLabelExtension()
@ValidationTest public void validateLabel()
Copyright © 2020 Jet Propulsion Laboratory, California Institute of Technology. All rights reserved.