|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.run.xml.XmlBean.BeanInfo
public static class XmlBean.BeanInfo
A BeanInfo contains information about the XML bean and its properties. One BeanInfo will be created for each specific class of XmlBean.
| Field Summary | |
|---|---|
protected static java.lang.Class[] |
ADAPTER_INIT_PARAMSParameters for finding the default adapter constructor. |
protected PropertyAdapter[] |
m_aAdapterThe property adapters for the XML bean. |
protected java.lang.Class |
m_clzBeanThe class of the specific XML bean. |
protected boolean |
m_fDeepCloneSpecifies whether the XML bean requires a deep clone. |
protected int |
m_nBeanIdSerialization ID for the XmlBean class. |
protected java.lang.String |
m_sNameThe XML element name for the XML bean. |
protected java.lang.String |
m_sNmsPrefixNamespace prefix. |
protected java.lang.String |
m_sNmsUriNamespace URI. |
protected static java.lang.Class[] |
NOPARAMSParameters for finding no-parameter methods. |
protected static java.util.Map |
s_mapClassAdaptersMap from the class of a property type to the class of the adapter that handles the type. |
protected static java.util.Map |
s_mapClassNamesMap from type name / short class name to actual class instance. |
protected static java.util.Map |
s_mapPrimitiveNamesMap from class of an intrinsic type to its JVM signature. |
| Constructor Summary | |
|---|---|
protected |
XmlBean.BeanInfo(java.lang.Class clzBean, XmlElement xml)Construct a BeanInfo. |
| Method Summary | |
|---|---|
PropertyAdapter |
findAdapter(java.lang.String sName)Find a property adapter instance for the specified property. |
PropertyAdapter[] |
getAdapters()Obtain the PropertyAdapter objects for the properties of this XML bean. |
int |
getBeanId()Get the serialization ID for the specific XML bean implementation. |
java.lang.String |
getName()Determine the element name that the XML bean will use when serializing to XML. |
java.lang.String |
getNamespacePrefix()Obtain the default namespace prefix for this XML bean. |
java.lang.String |
getNamespaceUri()Obtain the namespace URI for this XML bean. |
java.lang.Class |
getType()Get the class of the specific XML bean implementation. |
protected PropertyAdapter |
makeAdapter(java.lang.Class clz, java.lang.String sName, java.lang.String sXmlName, XmlElement xml)Generate a property adapter instance that will work on this bean class and will adapt for a property of the specified class and of the specified name. |
boolean |
requiresDeepClone()Determine if a clone of the XmlBean should be a deep clone, which typically means that at least one property value is mutable reference type. |
java.lang.Class |
resolveClass(java.lang.String sClass)Resolve a Class name into a Class object. |
void |
setNamespacePrefix(java.lang.String sPrefix)Set the default Namespace prefix for this XML bean. |
java.lang.String |
toString()Debugging support. |
| Field Detail |
|---|
protected java.lang.Class m_clzBean
protected java.lang.String m_sName
protected PropertyAdapter[] m_aAdapter
protected boolean m_fDeepClone
protected java.lang.String m_sNmsUri
protected java.lang.String m_sNmsPrefix
protected int m_nBeanId
protected static final java.lang.Class[] NOPARAMS
protected static java.lang.Class[] ADAPTER_INIT_PARAMS
protected static final java.util.Map s_mapClassNames
protected static final java.util.Map s_mapClassAdapters
protected static final java.util.Map s_mapPrimitiveNames
| Constructor Detail |
|---|
protected XmlBean.BeanInfo(java.lang.Class clzBean,
XmlElement xml)
clzBean - the class of the beanxml - the xml descriptor| Method Detail |
|---|
public java.lang.Class getType()
public int getBeanId()
public java.lang.String getName()
public java.lang.String getNamespaceUri()
public java.lang.String getNamespacePrefix()
public void setNamespacePrefix(java.lang.String sPrefix)
sPrefix - the default namespace prefixpublic PropertyAdapter[] getAdapters()
public boolean requiresDeepClone()
protected PropertyAdapter makeAdapter(java.lang.Class clz,
java.lang.String sName,
java.lang.String sXmlName,
XmlElement xml)
clz - the class of the propertysName - the property namesXmlName - the corresponding element namexml - additional XML informationpublic PropertyAdapter findAdapter(java.lang.String sName)
sName - the property namepublic java.lang.Class resolveClass(java.lang.String sClass)
sClass - the Class namepublic java.lang.String toString()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||