public class RegisterLabelIdentifiers extends AbstractValidationRule
Constructor and Description |
---|
RegisterLabelIdentifiers()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(String location)
Tests whether a rule is applicable to a target location.
|
void |
registerIdentifiers()
Tests that label identifiers are uniquely defined.
|
execute, getCaption, getChildContext, getContext, getListener, getParentTarget, getRegistrar, getTarget, reportError, reportError, setCaption
public RegisterLabelIdentifiers()
public boolean isApplicable(String location)
AbstractValidationRule
isApplicable
in interface ValidationRule
isApplicable
in class AbstractValidationRule
location
- the target location@ValidationTest public void registerIdentifiers() throws XPathExpressionException
XPathExpressionException
- if there is an error processing the XPath to
the label logical identifierCopyright © 2010–2017 Planetary Data System. All rights reserved.