public class LineNoPseudoNodeValidation extends LineAbstractValidation
Checks to ensure the Line does not have a psuedo-node.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
LineNoPseudoNodeValidation()
PointCoveredByLineValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDegreesAllowable()
Access degreesAllowable property.
|
void |
setDegreesAllowable(int degreesAllowable)
Set degreesAllowable to degreesAllowable.
|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Ensure Line does not have a psuedo-node.
|
getLineTypeRef, getTypeRefs, setLineTypeRefgetDescription, getName, getPriority, setDescription, setName, validatepublic LineNoPseudoNodeValidation()
Super
public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception
layers - a HashMap of key="TypeName" value="FeatureSource"envelope - The bounding box of modified featuresresults - Storage for the error and warning messagesException - DOCUMENT ME!org.geotools.validation.IntegrityValidation#validate(java.util.Map,
org.locationtech.jts.geom.Envelope, org.geotools.validation.ValidationResults)public int getDegreesAllowable()
public void setDegreesAllowable(int degreesAllowable)
degreesAllowable - The degreesAllowable to set.Copyright © 1996–2019 Geotools. All rights reserved.