|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.validation.DefaultFeatureValidation
org.geotools.validation.attributes.NullZeroValidation
public class NullZeroValidation
NullZeroFeatureValidation purpose.
Description of NullZeroFeatureValidation ...
Capabilities:
NullZeroFeatureValidation x = new NullZeroFeatureValidation(...);
Field Summary |
---|
Fields inherited from interface org.geotools.validation.Validation |
---|
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL |
Constructor Summary | |
---|---|
NullZeroValidation()
|
Method Summary | |
---|---|
java.lang.String |
getAttribute()
Access attributeName property. |
int |
getPriority()
Implement getPriority. |
java.lang.String[] |
getTypeRefs()
Implementation of getTypeNames. |
void |
setAttribute(java.lang.String xpath)
set AttributeName to xpath expression. |
boolean |
validate(org.opengis.feature.simple.SimpleFeature feature,
org.opengis.feature.simple.SimpleFeatureType type,
ValidationResults results)
Implement validate. |
Methods inherited from class org.geotools.validation.DefaultFeatureValidation |
---|
getDefaultLineString, getDescription, getName, getTypeRef, setDescription, setName, setTypeRef |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullZeroValidation()
Method Detail |
---|
public boolean validate(org.opengis.feature.simple.SimpleFeature feature, org.opengis.feature.simple.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 java.lang.String[] getTypeRefs()
getTypeRefs
in interface Validation
getTypeRefs
in class DefaultFeatureValidation
Validation.getTypeRefs()
public java.lang.String getAttribute()
public void setAttribute(java.lang.String xpath)
xpath
- A String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |