|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.qa.ValidationError
public class ValidationError
An error with a Feature, found by Validator.
Validator| Constructor Summary | |
|---|---|
ValidationError(ValidationErrorType type,
Feature feature)
Creates a ValidationError with location unspecified. |
|
ValidationError(ValidationErrorType type,
Feature feature,
com.vividsolutions.jts.geom.Coordinate location)
Creates a ValidationError. |
|
ValidationError(ValidationErrorType type,
Feature feature,
com.vividsolutions.jts.geom.Geometry badPart)
Creates a ValidationError with location unspecified. |
|
| Method Summary | |
|---|---|
Feature |
getFeature()
Returns the feature with the error. |
com.vividsolutions.jts.geom.Coordinate |
getLocation()
Returns a point near the error. |
java.lang.String |
getMessage()
Returns a description of the error. |
ValidationErrorType |
getType()
Returns the kind of error found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationError(ValidationErrorType type,
Feature feature)
type - the kind of error foundfeature - the feature with the error
public ValidationError(ValidationErrorType type,
Feature feature,
com.vividsolutions.jts.geom.Coordinate location)
type - the kind of error foundfeature - the feature with the errorlocation - a point near the error
public ValidationError(ValidationErrorType type,
Feature feature,
com.vividsolutions.jts.geom.Geometry badPart)
type - the kind of error foundfeature - the feature with the errorbadPart - the part of the feature having the error| Method Detail |
|---|
public ValidationErrorType getType()
public java.lang.String getMessage()
public Feature getFeature()
public com.vividsolutions.jts.geom.Coordinate getLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||