public class PropertyValidateDefaultFacetFactory extends FacetFactoryAbstract
PropertyValidateFacet onto all properties.
The idea is that this FacetFactory is included early on in the
FacetProcessor, but other PropertyValidateFacet
implementations will potentially replace these where the property is
annotated or otherwise provides a validation mechanism.
FacetFactory.AbstractProcessContext<T extends FacetHolder>, FacetFactory.ProcessClassContext, FacetFactory.ProcessContextWithMetadataProperties<T extends FacetHolder>, FacetFactory.ProcessMethodContext, FacetFactory.ProcessParameterContext| Constructor and Description |
|---|
PropertyValidateDefaultFacetFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(FacetFactory.ProcessMethodContext processMethodContext)
Process the method, and return the correctly setup annotation if present.
|
void |
processParams(FacetFactory.ProcessParameterContext processParameterContext)
Process the parameters of the method, and return the correctly setup
annotation if present.
|
getFeatureTypes, getSpecificationLoader, process, setSpecificationLookuppublic PropertyValidateDefaultFacetFactory()
public void process(FacetFactory.ProcessMethodContext processMethodContext)
FacetFactoryprocess in interface FacetFactoryprocess in class FacetFactoryAbstractpublic void processParams(FacetFactory.ProcessParameterContext processParameterContext)
FacetFactoryprocessParams in interface FacetFactoryprocessParams in class FacetFactoryAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.