|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultFeatureValidation
NullZeroValidation
public class NullZeroValidation
NullZeroFeatureValidation purpose.
Description of NullZeroFeatureValidation ...
Capabilities:
NullZeroFeatureValidation x = new NullZeroFeatureValidation(...);
modules/extension/validation (gt-validation.jar)
Field Summary |
---|
Fields inherited from interface Validation |
---|
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL |
Constructor Summary | |
---|---|
NullZeroValidation()
|
Method Summary | |
---|---|
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. |
Methods inherited from class DefaultFeatureValidation |
---|
getDefaultLineString, getDescription, getName, getTypeRef, setDescription, setName, setTypeRef |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullZeroValidation()
Method Detail |
---|
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 String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |