org.codehaus.enunciate.modules.gwt
Class GWTValidator
java.lang.Object
org.codehaus.enunciate.contract.validation.BaseValidator
org.codehaus.enunciate.modules.gwt.GWTValidator
- All Implemented Interfaces:
- Validator
public class GWTValidator
- extends BaseValidator
The validator for the gwt module.
- Author:
- Ryan Heaton
|
Constructor Summary |
GWTValidator(java.lang.String gwtModuleNamespace,
java.util.Set<java.lang.String> knownGwtPackages,
boolean enforceNamespaceConformance,
boolean enforceNoFieldAccessors,
boolean generateJsonOverlays)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GWTValidator
public GWTValidator(java.lang.String gwtModuleNamespace,
java.util.Set<java.lang.String> knownGwtPackages,
boolean enforceNamespaceConformance,
boolean enforceNoFieldAccessors,
boolean generateJsonOverlays)
validateEndpointInterface
public ValidationResult validateEndpointInterface(EndpointInterface ei)
- Overrides:
validateEndpointInterface in class BaseValidator
- Returns:
- An empty result.
validateComplexType
public ValidationResult validateComplexType(ComplexTypeDefinition complexType)
- Overrides:
validateComplexType in class BaseValidator
- Returns:
- An empty result.
validateSimpleType
public ValidationResult validateSimpleType(SimpleTypeDefinition simpleType)
- Overrides:
validateSimpleType in class BaseValidator
- Returns:
- An empty result.
validateEnumType
public ValidationResult validateEnumType(EnumTypeDefinition enumType)
- Overrides:
validateEnumType in class BaseValidator
- Returns:
- An empty result.
isSupported
protected boolean isSupported(com.sun.mirror.type.TypeMirror type)
- Whether the given type is supported.
- Parameters:
type - The type to test for supportability.
- Returns:
- Whether the given type is supported.
isGWTTransient
protected boolean isGWTTransient(com.sun.mirror.declaration.TypeDeclaration declaration)
- Whether the given type declaration is GWT-transient.
- Parameters:
declaration - The type declaration.
- Returns:
- Whether the given tyep declaration is GWT-transient.
isGWTTransient
protected boolean isGWTTransient(com.sun.mirror.declaration.Declaration declaration)
- Whether the given type declaration is GWT-transient.
- Parameters:
declaration - The type declaration.
- Returns:
- Whether the given tyep declaration is GWT-transient.