public class ModelSet extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Bean> |
baseBeans
ModelSet base beans.
|
protected Boolean |
isBindingOnlyConfig
Is the associated Smooks instance a binding only configuration.
|
protected Map<String,Bean> |
models
Models.
|
Constructor and Description |
---|
ModelSet(org.smooks.api.resource.config.ResourceConfigSeq userConfigList,
org.smooks.api.delivery.ContentHandlerFactory<?> javaContentHandlerFactory) |
Modifier and Type | Method and Description |
---|---|
static void |
build(org.smooks.api.ApplicationContext appContext) |
protected void |
createBaseBeanMap(org.smooks.api.resource.config.ResourceConfigSeq resourceConfigSeq,
org.smooks.api.delivery.ContentHandlerFactory<?> contentHandlerFactory) |
protected void |
createExpandedModels() |
static ModelSet |
get(org.smooks.api.ApplicationContext appContext) |
Bean |
getModel(Class<?> beanType) |
Bean |
getModel(String beanId) |
Map<String,Bean> |
getModels() |
boolean |
isBindingOnlyConfig() |
protected boolean |
isGlobalParamsConfig(org.smooks.api.resource.config.ResourceConfig config) |
protected boolean |
isNonBindingResource(Object javaResource) |
protected void |
resolveModelSelectors(Bean model) |
protected void |
resolveModelSelectors(org.smooks.api.resource.config.ResourceConfigSeq userConfigList) |
protected Map<String,Bean> baseBeans
protected Map<String,Bean> models
protected Boolean isBindingOnlyConfig
public ModelSet(org.smooks.api.resource.config.ResourceConfigSeq userConfigList, org.smooks.api.delivery.ContentHandlerFactory<?> javaContentHandlerFactory) throws org.smooks.api.SmooksConfigException
org.smooks.api.SmooksConfigException
public boolean isBindingOnlyConfig()
protected void createBaseBeanMap(org.smooks.api.resource.config.ResourceConfigSeq resourceConfigSeq, org.smooks.api.delivery.ContentHandlerFactory<?> contentHandlerFactory)
protected boolean isNonBindingResource(Object javaResource)
protected boolean isGlobalParamsConfig(org.smooks.api.resource.config.ResourceConfig config)
protected void createExpandedModels()
protected void resolveModelSelectors(org.smooks.api.resource.config.ResourceConfigSeq userConfigList)
protected void resolveModelSelectors(Bean model)
public static void build(org.smooks.api.ApplicationContext appContext)
public static ModelSet get(org.smooks.api.ApplicationContext appContext)
Copyright © 2024. All rights reserved.