public class OrphanNodeValidation extends DefaultIntegrityValidation
Builds a network, and looks for orphaned nodes.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
Constructor and Description |
---|
OrphanNodeValidation()
StarNodeValidation constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeName()
Access typeName property.
|
String[] |
getTypeRefs()
Implementation of getTypeRefs.
|
void |
setTypeName(String typeName)
Set typeName to typeName.
|
boolean |
validate(Map layers,
ReferencedEnvelope envelope,
ValidationResults results)
Check FeatureType for ...
|
getDescription, getName, getPriority, setDescription, setName
public OrphanNodeValidation()
Description
public String[] getTypeRefs()
getTypeRefs
in interface Validation
getTypeRefs
in class DefaultIntegrityValidation
Validation.getTypeRefs()
public boolean validate(Map layers, ReferencedEnvelope envelope, ValidationResults results) throws Exception
Detailed description...
validate
in interface IntegrityValidation
validate
in class DefaultIntegrityValidation
layers
- Map of SimpleFeatureSource by "dataStoreID:typeName"envelope
- The bounding box that encloses the unvalidated dataresults
- Used to coallate results informationtrue
if all the features pass this test.Exception
- DOCUMENT ME!public String getTypeName()
public void setTypeName(String typeName)
typeName
- The typeName to set.Copyright © 1996–2019 Geotools. All rights reserved.