org.codehaus.enunciate.contract.validation
Class BaseValidator

java.lang.Object
  extended by org.codehaus.enunciate.contract.validation.BaseValidator
All Implemented Interfaces:
Validator
Direct Known Subclasses:
AMFValidator, CSharpValidator, CValidator, CXFValidator, DefaultValidator, EmptyNamespaceValidator, GWTValidator, JavaClientValidator, JAXWSRIValidator, JAXWSSupportValidator, JBossValidator, JerseyValidator, ObjCValidator, PHPValidator, RubyValidator, SwaggerValidator, XMLValidator

public class BaseValidator
extends java.lang.Object
implements Validator

A validator that doesn't do any validation work.

Author:
Ryan Heaton

Constructor Summary
BaseValidator()
           
 
Method Summary
 ValidationResult validate(EnunciateFreemarkerModel model)
          Validate the model.
 ValidationResult validateComplexType(ComplexTypeDefinition complexType)
           
 ValidationResult validateEndpointInterface(EndpointInterface ei)
           
 ValidationResult validateEnumType(EnumTypeDefinition enumType)
           
 ValidationResult validateRootElement(RootElementDeclaration rootElementDeclaration)
           
 ValidationResult validateRootResources(java.util.List<RootResource> rootResources)
           
 ValidationResult validateSimpleType(SimpleTypeDefinition simpleType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseValidator

public BaseValidator()
Method Detail

validate

public ValidationResult validate(EnunciateFreemarkerModel model)
Description copied from interface: Validator
Validate the model.

Specified by:
validate in interface Validator
Parameters:
model - The model to validate.
Returns:
The validation result.

validateEndpointInterface

public ValidationResult validateEndpointInterface(EndpointInterface ei)
Returns:
An empty result.

validateComplexType

public ValidationResult validateComplexType(ComplexTypeDefinition complexType)
Returns:
An empty result.

validateRootResources

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

validateSimpleType

public ValidationResult validateSimpleType(SimpleTypeDefinition simpleType)
Returns:
An empty result.

validateEnumType

public ValidationResult validateEnumType(EnumTypeDefinition enumType)
Returns:
An empty result.

validateRootElement

public ValidationResult validateRootElement(RootElementDeclaration rootElementDeclaration)
Returns:
An empty result.