Class Validator
java.lang.Object
org.opengis.cite.cdb10.util.reference.Validator
- Direct Known Subclasses:
ComponentSelectorValidator,DatasetsValidator,DisCountryCodesValidator,FeatureDataDictionaryValidator,MovingModelCodesValidator
Common functions for various validators.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodeListcompileAndEvaluate(String expression, Object doc) Wrap the compilation and evaluation of an XPath in a function.
-
Constructor Details
-
Validator
public Validator()
-
-
Method Details
-
compileAndEvaluate
protected NodeList compileAndEvaluate(String expression, Object doc) throws XPathExpressionException Wrap the compilation and evaluation of an XPath in a function.- Parameters:
expression- The XPath expressiondoc- A Document or Node- Returns:
- List of Nodes
- Throws:
XPathExpressionException- Error when evaluating XPath Expression
-