org.codehaus.enunciate.modules.jersey
Class JerseyValidator

java.lang.Object
  extended by org.codehaus.enunciate.contract.validation.BaseValidator
      extended by org.codehaus.enunciate.modules.jersey.JerseyValidator
All Implemented Interfaces:
Validator

public class JerseyValidator
extends BaseValidator

Author:
Ryan Heaton

Constructor Summary
JerseyValidator(boolean allowWildcardServlet)
           
 
Method Summary
protected  boolean isSuppliableByJAXRS(com.sun.mirror.declaration.Declaration declaration)
          Whether the specified declaration is suppliable by JAX-RS.
 ValidationResult validateRootResources(java.util.List<RootResource> rootResources)
           
 
Methods inherited from class org.codehaus.enunciate.contract.validation.BaseValidator
validate, validateComplexType, validateEndpointInterface, validateEnumType, validateRootElement, validateSimpleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JerseyValidator

public JerseyValidator(boolean allowWildcardServlet)
Method Detail

validateRootResources

public ValidationResult validateRootResources(java.util.List<RootResource> rootResources)
Overrides:
validateRootResources in class BaseValidator
Returns:
An empty result.

isSuppliableByJAXRS

protected boolean isSuppliableByJAXRS(com.sun.mirror.declaration.Declaration declaration)
Whether the specified declaration is suppliable by JAX-RS.

Parameters:
declaration - The declaration.
Returns:
Whether the specified declaration is suppliable by JAX-RS.