|
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.util.Base
com.tangosol.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.run.xml.PropertyAdapter
com.tangosol.run.xml.SerializableAdapter
public class SerializableAdapter
A SerializableAdapter supports Java objects that implement the Serializable interface.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.run.xml.PropertyAdapter |
|---|
m_clzType, m_fAttribute, m_infoBean, m_methodClone, m_methodGet, m_methodSet, m_sName, m_sNmsPrefix, m_sNmsUri, m_sXml, NOPARAMS |
| Constructor Summary | |
|---|---|
SerializableAdapter(XmlBean.BeanInfo infoBean, java.lang.Class clzType, java.lang.String sName, java.lang.String sXml, XmlElement xml)Construct a SerializableAdapter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(java.lang.Object o)Make a clone of the passed object. |
java.lang.Object |
fromUri(java.lang.String sUri)Deserialize an object from a URI element. |
java.lang.Object |
fromXml(XmlElement xml)Deserialize an object from an XML element. |
boolean |
isCloneRequired()Determine if the property value must be deep-cloned. |
java.lang.Object |
readExternal(java.io.DataInput in)Read a value from the passed DataInput object. |
java.lang.String |
toUri(java.lang.Object o)Serialize an object into a URI element. |
XmlElement |
toXml(java.lang.Object o)Serialize an object into an XML element. |
void |
writeExternal(java.io.DataOutput out, java.lang.Object o)Write the specified data to the passed DataOutput object. |
| Methods inherited from class com.tangosol.run.xml.PropertyAdapter |
|---|
equalsValue, findAttribute, findElement, get, getAccessor, getBeanInfo, getCloner, getElements, getLocalXmlName, getMutator, getName, getNamespacePrefix, getNamespaceUri, getType, getXmlName, hash, isAnonymous, isAttribute, isElementMatch, isEmpty, readXml, set, setNamespacePrefix, toString, writeXml |
| Methods inherited from class com.tangosol.util.BitHelper |
|---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString, toBytes, toBytes, toBytes, toBytes, toInt, toInt, toLong, toLong |
| Constructor Detail |
|---|
public SerializableAdapter(XmlBean.BeanInfo infoBean,
java.lang.Class clzType,
java.lang.String sName,
java.lang.String sXml,
XmlElement xml)
infoBean - BeanInfo for a bean containing this propertyclzType - the type of the propertysName - the property namesXml - the XML tag namexml - additional XML information| Method Detail |
|---|
public boolean isCloneRequired()
PropertyAdapterisCloneRequired in class PropertyAdapterpublic java.lang.Object clone(java.lang.Object o)
clone in class PropertyAdaptero - the object to clonepublic java.lang.Object fromXml(XmlElement xml)
fromXml in class PropertyAdapterxml - the XML element to deserialize frompublic XmlElement toXml(java.lang.Object o)
toXml in class PropertyAdaptero - the object to serializepublic java.lang.Object fromUri(java.lang.String sUri)
fromUri in class PropertyAdaptersUri - the URI element to deserialize fromjava.lang.UnsupportedOperationException - if the property cannot be read from a URI elementpublic java.lang.String toUri(java.lang.Object o)
toUri in class PropertyAdaptero - the object to serializejava.lang.UnsupportedOperationException - if the property cannot be written to a URI element
public java.lang.Object readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in class PropertyAdapterin - the DataInput stream to read property data fromjava.io.IOException - if an I/O exception occurs
public void writeExternal(java.io.DataOutput out,
java.lang.Object o)
throws java.io.IOException
writeExternal in class PropertyAdapterout - the DataOutput stream to write too - the data to write to the DataOutput; never nulljava.io.IOException - if an I/O exception occurs
|
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 | |||||||