| java.lang.Object com.vividsolutions.jump.qa.ValidationError
All known Subclasses: com.vividsolutions.jump.qa.BasicTopologyValidationError,
ValidationError | public class ValidationError (Code) | | An error with a Feature, found by Validator.
See Also: Validator |
ValidationError | public ValidationError(ValidationErrorType type, Feature feature)(Code) | | Creates a ValidationError with location unspecified.
Parameters: type - the kind of error found Parameters: feature - the feature with the error |
ValidationError | public ValidationError(ValidationErrorType type, Feature feature, Coordinate location)(Code) | | Creates a ValidationError.
Parameters: type - the kind of error found Parameters: feature - the feature with the error Parameters: location - a point near the error |
ValidationError | public ValidationError(ValidationErrorType type, Feature feature, Geometry badPart)(Code) | | Creates a ValidationError with location unspecified.
Parameters: type - the kind of error found Parameters: feature - the feature with the error Parameters: badPart - the part of the feature having the error |
getFeature | public Feature getFeature()(Code) | | Returns the feature with the error.
the feature with the error |
getLocation | public Coordinate getLocation()(Code) | | Returns a point near the error.
a point near the error |
getMessage | public String getMessage()(Code) | | Returns a description of the error.
a description of the error |
|
|