public class XMLMetaBeanFactory extends Object implements MetaBeanFactory
| Modifier and Type | Class and Description |
|---|---|
static interface |
XMLMetaBeanFactory.Visitor |
static class |
XMLMetaBeanFactory.XMLResult |
| Constructor and Description |
|---|
XMLMetaBeanFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLoader(XMLMetaBeanLoader loader) |
void |
buildMetaBean(MetaBean metaBean) |
protected MetaProperty |
enrichElement(MetaBean meta,
XMLMetaElement xmlProp,
XMLMetaBeanFactory.XMLResult result) |
void |
enrichMetaBean(MetaBean meta,
XMLMetaBeanFactory.XMLResult result) |
protected void |
enrichValidations(FeaturesCapable prop,
XMLFeaturesCapable xmlProp,
XMLMetaBeanFactory.XMLResult result,
boolean addStandard) |
protected XMLMetaBeanFactory.XMLResult |
findXMLBeanMeta(String beanId)
find a bean by the bean-id (=bean.name)
|
Collection<XMLMetaBeanLoader> |
getLoaders()
XMLMetaBeanLoader are used to know "locations" where to get BeanInfos from.
|
StandardValidation |
getStandardValidation() |
void |
handleLoadException(Object loader,
IOException e) |
void |
setStandardValidation(StandardValidation standardValidation)
customize the implementation of standardValidation for this builder.
|
void |
visitXMLBeanMeta(String beanId,
XMLMetaBeanFactory.Visitor visitor) |
public void buildMetaBean(MetaBean metaBean) throws Exception
buildMetaBean in interface MetaBeanFactoryExceptionpublic Collection<XMLMetaBeanLoader> getLoaders()
public void addLoader(XMLMetaBeanLoader loader)
public StandardValidation getStandardValidation()
public void setStandardValidation(StandardValidation standardValidation)
public void enrichMetaBean(MetaBean meta, XMLMetaBeanFactory.XMLResult result) throws Exception
Exceptionprotected void enrichValidations(FeaturesCapable prop, XMLFeaturesCapable xmlProp, XMLMetaBeanFactory.XMLResult result, boolean addStandard) throws Exception
Exceptionprotected MetaProperty enrichElement(MetaBean meta, XMLMetaElement xmlProp, XMLMetaBeanFactory.XMLResult result) throws Exception
Exceptionpublic void visitXMLBeanMeta(String beanId, XMLMetaBeanFactory.Visitor visitor) throws Exception
Exceptionprotected XMLMetaBeanFactory.XMLResult findXMLBeanMeta(String beanId)
public void handleLoadException(Object loader, IOException e)
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.