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, setTypeRef
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
Description ...
validate
in interface FeatureValidation
validate
in class DefaultFeatureValidation
feature
- 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 Validation
getPriority
in class DefaultFeatureValidation
Validation.getPriority()
public String[] getTypeRefs()
getTypeRefs
in interface Validation
getTypeRefs
in class DefaultFeatureValidation
Validation.getTypeRefs()
public String getAttribute()
public void setAttribute(String xpath)
xpath
- A StringCopyright © 1996–2019 Geotools. All rights reserved.