public class BeanRuntimeInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BeanRuntimeInfo.Classification
Bean type classification.
|
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
arrayType
If the bean classification is an ARRAY_COLLECTION, this member specifies the
actual array type.
|
protected BeanRuntimeInfo.Classification |
classification
The bean classification.
|
protected static String |
CONTEXT_KEY |
protected boolean |
isJAXBType
Is the type a JAXB Type.
|
protected Class<?> |
populateType
The basic type that's created and populated for the associated bean.
|
Constructor and Description |
---|
BeanRuntimeInfo() |
BeanRuntimeInfo(Class<?> clazz) |
BeanRuntimeInfo(String classname) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<?> |
getArrayType() |
static BeanRuntimeInfo |
getBeanRuntimeInfo(String beanId,
org.smooks.api.ApplicationContext appContext) |
static BeanRuntimeInfo |
getBeanRuntimeInfo(String beanId,
String beanClassName,
org.smooks.api.ApplicationContext appContext) |
BeanRuntimeInfo.Classification |
getClassification() |
Class<?> |
getPopulateType() |
protected static Map<String,BeanRuntimeInfo> |
getRuntimeInfoMap(org.smooks.api.ApplicationContext appContext) |
boolean |
isJAXBType() |
static void |
recordBeanRuntimeInfo(String beanId,
BeanRuntimeInfo beanRuntimeInfo,
org.smooks.api.ApplicationContext appContext) |
protected void |
resolveBeanRuntimeInfo(Class<?> clazz) |
protected void |
resolveBeanRuntimeInfo(String beanClass)
Resolve the Javabean runtime class.
|
void |
setArrayType(Class<?> arrayType) |
void |
setClassification(BeanRuntimeInfo.Classification classification) |
void |
setClassification(Class<?> clazz) |
void |
setPopulateType(Class<?> populateType) |
String |
toString() |
protected static final String CONTEXT_KEY
protected Class<?> populateType
protected BeanRuntimeInfo.Classification classification
protected Class<?> arrayType
protected boolean isJAXBType
public BeanRuntimeInfo()
public BeanRuntimeInfo(Class<?> clazz)
public BeanRuntimeInfo(String classname)
public static void recordBeanRuntimeInfo(String beanId, BeanRuntimeInfo beanRuntimeInfo, org.smooks.api.ApplicationContext appContext)
public static BeanRuntimeInfo getBeanRuntimeInfo(String beanId, org.smooks.api.ApplicationContext appContext)
public void setClassification(Class<?> clazz)
public static BeanRuntimeInfo getBeanRuntimeInfo(String beanId, String beanClassName, org.smooks.api.ApplicationContext appContext)
protected void resolveBeanRuntimeInfo(String beanClass)
beanClass
- The beanClass name.protected void resolveBeanRuntimeInfo(Class<?> clazz)
protected static Map<String,BeanRuntimeInfo> getRuntimeInfoMap(org.smooks.api.ApplicationContext appContext)
public Class<?> getPopulateType()
public void setPopulateType(Class<?> populateType)
public BeanRuntimeInfo.Classification getClassification()
public void setClassification(BeanRuntimeInfo.Classification classification)
public Class<?> getArrayType()
public void setArrayType(Class<?> arrayType)
public boolean isJAXBType()
Copyright © 2024. All rights reserved.