Package | Description |
---|---|
org.apache.bval | |
org.apache.bval.json | |
org.apache.bval.jsr | |
org.apache.bval.model | |
org.apache.bval.xml |
Modifier and Type | Class and Description |
---|---|
class |
DynamicMetaBean
Description: Dynamic
MetaBean subclass. |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Class<?>,MetaBean> |
MetaBeanCache.cacheByClass
Cache keyed by class.
|
protected ConcurrentMap<String,MetaBean> |
MetaBeanCache.cacheById
Cache keyed by id.
|
Modifier and Type | Method and Description |
---|---|
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 |
MetaBeanCache.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanFinder.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanManager.findForClass(Class<?> clazz)
Find the MetaBean for the specified class.
|
MetaBean |
MetaBeanCache.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
MetaBeanFinder.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
MetaBeanManager.findForId(String beanInfoId)
Find a MetaBean with a certain id.
|
MetaBean |
BeanValidationContext.getMetaBean()
Get the model meta-bean.
|
MetaBean |
DynamicMetaBean.resolveMetaBean(Object bean)
|
Modifier and Type | Method and Description |
---|---|
Map<String,MetaBean> |
MetaBeanBuilder.buildAll()
Build beans for all known ids.
|
Map<String,MetaBean> |
MetaBeanCache.findAll()
Return all cached MetaBeans by id.
|
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|
MetaBeanCache(Map<String,MetaBean> beans)
Create a new MetaBeanCache instance.
|
Modifier and Type | Method and Description |
---|---|
String |
JSONGenerator.toJSON(MetaBean metaBean) |
Modifier and Type | Method and Description |
---|---|
String |
JSONGenerator.toJSON(Collection<MetaBean> metaBeans) |
void |
JSONGenerator.toJSON(Collection<MetaBean> metaBeans,
Writer out) |
Modifier and Type | Field and Description |
---|---|
protected MetaBean |
ElementDescriptorImpl.metaBean
the MetaBean of this element
|
Modifier and Type | Method and Description |
---|---|
MetaBean |
ProcedureDescriptor.getMetaBean()
Get the owning metabean.
|
MetaBean |
ElementDescriptorImpl.getMetaBean()
Get the model
MetaBean used. |
MetaBean |
GroupValidationContext.getRootMetaBean()
Get the root
MetaBean . |
Modifier and Type | Method and Description |
---|---|
static MetaProperty |
JsrMetaBeanFactory.addMetaProperty(MetaBean parentMetaBean,
AccessStrategy access)
Add a
MetaProperty to a MetaBean . |
void |
JsrMetaBeanFactory.buildMetaBean(MetaBean metabean)
Initialize the specified
MetaBean . |
protected BeanDescriptorImpl |
ClassValidator.createBeanDescriptor(MetaBean metaBean)
Create a
BeanDescriptorImpl |
protected <T> GroupValidationContext<T> |
ClassValidator.createContext(MetaBean metaBean,
T object,
Class<T> objectClass,
Class<?>... groups)
Create a
GroupValidationContext . |
protected <T> GroupValidationContext<T> |
ClassValidator.createInvocableContext(MetaBean metaBean,
T object,
Class<T> objectClass,
Class<?>... groups) |
Constructor and Description |
---|
BeanDescriptorImpl(ApacheFactoryContext factoryContext,
MetaBean metaBean) |
ConstructorDescriptorImpl(MetaBean metaBean,
MetaConstructor metaMethod) |
ConstructorDescriptorImpl(MetaBean metaBean,
Validation[] validations)
Create a new ConstructorDescriptorImpl instance.
|
CrossParameterDescriptorImpl(MetaBean bean,
Collection<ConstraintValidation<?>> list) |
ElementDescriptorImpl(MetaBean metaBean,
Class<?> elementClass,
Validation[] validations)
Create a new ElementDescriptorImpl instance.
|
InvocableElementDescriptor(MetaBean metaBean,
Class<?> elementClass,
Validation[] validations) |
MethodDescriptorImpl(MetaBean bean,
MetaMethod metaMethod) |
MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations,
Method method) |
ParameterDescriptorImpl(MetaBean metaBean,
Validation[] validations,
String name)
Create a new ParameterDescriptorImpl instance.
|
ReturnValueDescriptorImpl(MetaBean metaBean,
Class<?> returnType,
Collection<ConstraintValidation<?>> list,
boolean cascaded) |
Modifier and Type | Field and Description |
---|---|
protected MetaBean |
Meta.parentMetaBean |
Modifier and Type | Method and Description |
---|---|
MetaBean |
ValidationContext.getMetaBean()
Get the model meta-bean.
|
MetaBean |
MetaProperty.getMetaBean()
Get the metabean of the target bean (mainly for relationships).
|
MetaBean |
Meta.getParentMetaBean() |
MetaBean |
MetaParameter.getParentMetaBean() |
MetaBean |
MetaBean.resolveMetaBean(Object bean)
|
Modifier and Type | Method and Description |
---|---|
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 |
ValidationContext.setMetaBean(MetaBean metaBean)
Set the model meta-bean.
|
void |
MetaProperty.setMetaBean(MetaBean metaBean)
Set the MetaBean of this
MetaProperty . |
Constructor and Description |
---|
MetaConstructor(MetaBean metabean,
Constructor<?> constructor) |
MetaMethod(MetaBean parent,
Method method) |
Modifier and Type | Method and Description |
---|---|
MetaBean |
XMLMetaBeanBuilder.buildForId(String beanInfoId) |
MetaBean |
XMLMetaBeanFactory.Visitor.getMetaBean() |
Modifier and Type | Method and Description |
---|---|
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() |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLMetaBeanManager.computeRelationships(MetaBean beanInfo,
Map<String,MetaBean> cached) |
Map<String,MetaBean> |
XMLMetaBeanBuilder.enrichCopies(Map<String,MetaBean> all,
XMLMetaBeanInfos... infosArray) |
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.