|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.server.impl.modelapi.validation.AbstractModelValidator
public abstract class AbstractModelValidator
Abstract resource model validator allows to simply implement validators of resource model. A validator maintains a list of model issues found. User can call validate method to validate several resources by a single validator and collect issues.
| Constructor Summary | |
|---|---|
AbstractModelValidator()
|
|
| Method Summary | |
|---|---|
void |
cleanIssueList()
Removes all issues from the current issue list. |
boolean |
fatalIssuesFound()
Convenience method to see if there were fatal issues found |
java.util.List<ResourceModelIssue> |
getIssueList()
Returns a list of issues found after validate(com.sun.jersey.api.model.AbstractModelComponent)
method has been invoked |
void |
validate(AbstractModelComponent component)
The validate method validates a component and adds possible issues found to it's list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.jersey.api.model.AbstractModelVisitor |
|---|
visitAbstractField, visitAbstractResource, visitAbstractResourceConstructor, visitAbstractResourceMethod, visitAbstractSetterMethod, visitAbstractSubResourceLocator, visitAbstractSubResourceMethod |
| Constructor Detail |
|---|
public AbstractModelValidator()
| Method Detail |
|---|
public java.util.List<ResourceModelIssue> getIssueList()
validate(com.sun.jersey.api.model.AbstractModelComponent)
method has been invoked
public boolean fatalIssuesFound()
public void cleanIssueList()
public void validate(AbstractModelComponent component)
component -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||