public interface ProblemListener extends ProblemHandler
Modifier and Type | Method and Description |
---|---|
void |
addLocation(java.lang.String location)
Adds a location to the listener.
|
int |
getErrorCount()
Gets the number of error problems encountered.
|
int |
getInfoCount()
Gets the number of informational problems encountered.
|
java.util.Collection<ValidationProblem> |
getProblemsForLocation(java.lang.String location,
boolean includeChildren)
Gets a collection of problems for a given location.
|
ExceptionType |
getSeverity(java.lang.String location,
boolean includeChildren)
Gets the maximum severity of problems related to a location.
|
int |
getWarningCount()
Gets the number of warning problems encountered.
|
boolean |
hasProblems(java.lang.String location,
boolean includeChildren)
Tests whether a target has had problems reported.
|
addProblem
void addLocation(java.lang.String location)
location
- the location of the label being validated.int getErrorCount()
int getWarningCount()
int getInfoCount()
boolean hasProblems(java.lang.String location, boolean includeChildren)
location
- the target locationincludeChildren
- true, if problems for child locations should be includedExceptionType getSeverity(java.lang.String location, boolean includeChildren)
location
- the target locationincludeChildren
- true, if problems in children of the target should be includedjava.util.Collection<ValidationProblem> getProblemsForLocation(java.lang.String location, boolean includeChildren)
location
- the target locationincludeChildren
- true, if problems for child locations should be includedCopyright © 2010-2018 Planetary Data System. All Rights Reserved.