|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MetaBean | |
---|---|
org.apache.bval | |
org.apache.bval.json | |
org.apache.bval.jsr303 | |
org.apache.bval.jsr303.extensions | |
org.apache.bval.model | |
org.apache.bval.xml |
Uses of MetaBean in org.apache.bval |
---|
Subclasses of MetaBean in org.apache.bval | |
---|---|
class |
DynamicMetaBean
Description: Dynamic MetaBean subclass. |
Fields in org.apache.bval with type parameters of type MetaBean | |
---|---|
protected ConcurrentMap<Class<?>,MetaBean> |
MetaBeanCache.cacheByClass
Cache keyed by class. |
protected ConcurrentMap<String,MetaBean> |
MetaBeanCache.cacheById
Cache keyed by id. |
Methods in org.apache.bval that return MetaBean | |
---|---|
MetaBean |
MetaBeanBuilder.buildForClass(Class<?> clazz)
Build a MetaBean for the specified class. |
MetaBean |
MetaBeanBuilder.buildForId(String beanInfoId)
Build a MetaBean for a given id. |
MetaBean |
MetaBeanManager.findForClass(Class<?> clazz)
Find the MetaBean for the specified class. |
MetaBean |
MetaBeanFinder.findForClass(Class<?> clazz)
Find the MetaBean for the specified class. |
MetaBean |
MetaBeanCache.findForClass(Class<?> clazz)
Find the MetaBean for the specified class. |
MetaBean |
MetaBeanManager.findForId(String beanInfoId)
Find a MetaBean with a certain id. |
MetaBean |
MetaBeanFinder.findForId(String beanInfoId)
Find a MetaBean with a certain id. |
MetaBean |
MetaBeanCache.findForId(String beanInfoId)
Find a MetaBean with a certain id. |
MetaBean |
BeanValidationContext.getMetaBean()
Get the model meta-bean. |
MetaBean |
DynamicMetaBean.resolveMetaBean(Object bean)
If this MetaBean is compatible with bean , return this , else null . |
Methods in org.apache.bval that return types with arguments of type MetaBean | |
---|---|
Map<String,MetaBean> |
MetaBeanBuilder.buildAll()
Build beans for all known ids. |
Map<String,MetaBean> |
MetaBeanCache.findAll()
Return all cached MetaBeans by id. |
Methods in org.apache.bval with parameters of type MetaBean | |
---|---|
void |
MetaBeanFactory.buildMetaBean(MetaBean metaBean)
Initialize the specified MetaBean . |
void |
IntrospectorMetaBeanFactory.buildMetaBean(MetaBean meta)
Initialize the specified MetaBean . |
void |
MetaBeanCache.cache(MetaBean beanInfo)
Cache the specified MetaBean. |
protected void |
MetaBeanManager.computeRelationships(MetaBean beanInfo)
Compute all known relationships for beanInfo . |
void |
BeanValidationContext.moveUp(Object bean,
MetaBean aMetaBean)
Step out from a validation of associated objects. |
void |
MetaBeanCache.removeFromCache(MetaBean beanInfo)
Remove a single MetaBean from the cache. |
void |
BeanValidationContext.setBean(Object aBean,
MetaBean aMetaBean)
Set the current bean/metabean. |
void |
BeanValidationContext.setMetaBean(MetaBean metaBean)
Set the model meta-bean. |
T |
BeanValidator.validate(Object bean,
MetaBean metaBean)
Convenience API. |
Constructor parameters in org.apache.bval with type arguments of type MetaBean | |
---|---|
MetaBeanCache(Map<String,MetaBean> beans)
Create a new MetaBeanCache instance. |
Uses of MetaBean in org.apache.bval.json |
---|
Methods in org.apache.bval.json with parameters of type MetaBean | |
---|---|
String |
JSONGenerator.toJSON(MetaBean metaBean)
|
Method parameters in org.apache.bval.json with type arguments of type MetaBean | |
---|---|
String |
JSONGenerator.toJSON(Collection<MetaBean> metaBeans)
|
void |
JSONGenerator.toJSON(Collection<MetaBean> metaBeans,
Writer out)
|
Uses of MetaBean in org.apache.bval.jsr303 |
---|
Fields in org.apache.bval.jsr303 declared as MetaBean | |
---|---|
protected MetaBean |
ElementDescriptorImpl.metaBean
the MetaBean of this element |
Methods in org.apache.bval.jsr303 that return MetaBean | |
---|---|
MetaBean |
ElementDescriptorImpl.getMetaBean()
Get the model MetaBean used. |
MetaBean |
GroupValidationContext.getRootMetaBean()
Get the root MetaBean . |
MetaBean |
GroupValidationContextImpl.getRootMetaBean()
Get the root MetaBean . |
Methods in org.apache.bval.jsr303 with parameters of type MetaBean | ||
---|---|---|
static MetaProperty |
Jsr303MetaBeanFactory.addMetaProperty(MetaBean parentMetaBean,
AccessStrategy access)
Add a MetaProperty to a MetaBean . |
|
void |
Jsr303MetaBeanFactory.buildMetaBean(MetaBean metabean)
Initialize the specified MetaBean . |
|
protected BeanDescriptorImpl |
ClassValidator.createBeanDescriptor(MetaBean metaBean)
Create a BeanDescriptorImpl |
|
protected
|
ClassValidator.createContext(MetaBean metaBean,
T object,
Class<T> objectClass,
Class<?>... groups)
Create a GroupValidationContext . |
|
void |
GroupValidationContextImpl.moveUp(Object bean,
MetaBean metaBean)
Step out from a validation of associated objects. |
Constructors in org.apache.bval.jsr303 with parameters of type MetaBean | |
---|---|
BeanDescriptorImpl(ApacheFactoryContext factoryContext,
MetaBean metaBean)
Create a new BeanDescriptorImpl instance. |
|
ConstraintFinderImpl(MetaBean metaBean,
Set<ConstraintValidation<?>> constraintDescriptors)
Create a new ConstraintFinderImpl instance. |
|
ElementDescriptorImpl(MetaBean metaBean,
Class<?> elementClass,
Validation[] validations)
Create a new ElementDescriptorImpl instance. |
|
GroupValidationContextImpl(ConstraintValidationListener<T> listener,
MessageInterpolator aMessageResolver,
TraversableResolver traversableResolver,
MetaBean rootMetaBean)
Create a new GroupValidationContextImpl instance. |
Uses of MetaBean in org.apache.bval.jsr303.extensions |
---|
Methods in org.apache.bval.jsr303.extensions that return MetaBean | |
---|---|
MetaBean |
ProcedureDescriptor.getMetaBean()
Get the owning metabean. |
Methods in org.apache.bval.jsr303.extensions with parameters of type MetaBean | |
---|---|
protected BeanDescriptorImpl |
MethodValidatorImpl.createBeanDescriptor(MetaBean metaBean)
Create a BeanDescriptorImpl |
Constructors in org.apache.bval.jsr303.extensions with parameters of type MetaBean | |
---|---|
ConstructorDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new ConstructorDescriptorImpl instance. |
|
MethodBeanDescriptorImpl(ApacheFactoryContext factoryContext,
MetaBean metaBean)
Create a new MethodBeanDescriptorImpl instance. |
|
MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new MethodDescriptorImpl instance. |
|
ParameterDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new ParameterDescriptorImpl instance. |
Uses of MetaBean in org.apache.bval.model |
---|
Methods in org.apache.bval.model that return MetaBean | |
---|---|
MetaBean |
MetaProperty.getMetaBean()
Get the metabean of the target bean (mainly for relationships). |
MetaBean |
ValidationContext.getMetaBean()
Get the model meta-bean. |
MetaBean |
MetaProperty.getParentMetaBean()
Get the metabean that owns this property (set by MetaBean.putProperty()) |
MetaBean |
MetaBean.resolveMetaBean(Object bean)
If this MetaBean is compatible with bean , return this , else null . |
Methods in org.apache.bval.model with parameters of type MetaBean | |
---|---|
void |
ValidationContext.moveUp(Object bean,
MetaBean metaBean)
Step out from a validation of associated objects. |
void |
ValidationContext.setBean(Object aBean,
MetaBean aMetaBean)
Set the current bean/metabean. |
void |
MetaProperty.setMetaBean(MetaBean metaBean)
Set the MetaBean of this MetaProperty . |
void |
ValidationContext.setMetaBean(MetaBean metaBean)
Set the model meta-bean. |
(package private) void |
MetaProperty.setParentMetaBean(MetaBean parentMetaBean)
Set the metabean that owns this property (usually called by MetaBean.putProperty()) |
Uses of MetaBean in org.apache.bval.xml |
---|
Methods in org.apache.bval.xml that return MetaBean | |
---|---|
MetaBean |
XMLMetaBeanBuilder.buildForId(String beanInfoId)
|
MetaBean |
XMLMetaBeanFactory.Visitor.getMetaBean()
|
Methods in org.apache.bval.xml that return types with arguments of type MetaBean | |
---|---|
Map<String,MetaBean> |
XMLMetaBeanBuilder.buildAll()
|
Map<String,MetaBean> |
XMLMetaBeanBuilder.enrichCopies(Map<String,MetaBean> all,
XMLMetaBeanInfos... infosArray)
|
Map<String,MetaBean> |
MetaBeanEnricher.enrichCopies(XMLMetaBeanInfos... infos)
|
Map<String,MetaBean> |
XMLMetaBeanManager.enrichCopies(XMLMetaBeanInfos... infos)
|
Map<String,MetaBean> |
XMLMetaBeanManager.findAll()
|
Methods in org.apache.bval.xml with parameters of type MetaBean | |
---|---|
void |
XMLMetaBeanFactory.buildMetaBean(MetaBean metaBean)
|
protected void |
XMLMetaBeanManager.computeRelationships(MetaBean beanInfo,
Map<String,MetaBean> cached)
|
protected MetaProperty |
XMLMetaBeanFactory.enrichElement(MetaBean meta,
XMLMetaElement xmlProp,
XMLMetaBeanFactory.XMLResult result)
|
void |
XMLMetaBeanFactory.enrichMetaBean(MetaBean meta,
XMLMetaBeanFactory.XMLResult result)
|
Method parameters in org.apache.bval.xml with type arguments of type MetaBean | |
---|---|
protected void |
XMLMetaBeanManager.computeRelationships(MetaBean beanInfo,
Map<String,MetaBean> cached)
|
Map<String,MetaBean> |
XMLMetaBeanBuilder.enrichCopies(Map<String,MetaBean> all,
XMLMetaBeanInfos... infosArray)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |