public class NullZeroValidation extends DefaultFeatureValidation
Description of NullZeroFeatureValidation ...
Capabilities:
NullZeroFeatureValidation x = new NullZeroFeatureValidation(...);
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
NullZeroValidation() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute()
Access attributeName property.
|
int |
getPriority()
Implement getPriority.
|
String[] |
getTypeRefs()
Implementation of getTypeNames.
|
void |
setAttribute(String xpath)
set AttributeName to xpath expression.
|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
Implement validate.
|
getDefaultLineString, getDescription, getName, getTypeRef, setDescription, setName, setTypeRefpublic boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
Description ...
validate in interface FeatureValidationvalidate in class DefaultFeatureValidationfeature - Provides the attributes to test.type - not used.results - a reference for returning error codes.org.geotools.validation.FeatureValidation#validate(org.geotools.feature.Feature,
org.geotools.feature.FeatureType, org.geotools.validation.ValidationResults)public int getPriority()
getPriority in interface ValidationgetPriority in class DefaultFeatureValidationValidation.getPriority()public String[] getTypeRefs()
getTypeRefs in interface ValidationgetTypeRefs in class DefaultFeatureValidationValidation.getTypeRefs()public String getAttribute()
public void setAttribute(String xpath)
xpath - A StringCopyright © 1996–2019 Geotools. All rights reserved.