|
||||||||||
| 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(...);
| 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 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 String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||