|
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.SimpleAdapter
public abstract class SimpleAdapter
A SimpleAdapter supports Java intrinsic types and a common set of Java classes: java.lang.Boolean java.lang.Byte java.lang.Character java.lang.Short java.lang.Integer java.lang.Long java.lang.Float java.lang.Double java.lang.String java.math.BigDecimal java.math.BigInteger java.sql.Date java.sql.Time java.sql.Timestamp java.util.Date
| Nested Class Summary | |
|---|---|
static class |
SimpleAdapter.BigDecimalAdapterA simple property adapter for BigDecimal. |
static class |
SimpleAdapter.BigIntegerAdapterA simple property adapter for BigInteger. |
static class |
SimpleAdapter.BooleanAdapterA simple property adapter for boolean. |
static class |
SimpleAdapter.ByteAdapterA simple property adapter for byte. |
static class |
SimpleAdapter.CharAdapterA simple property adapter for char. |
static class |
SimpleAdapter.DateAdapterA simple property adapter for Date. |
static class |
SimpleAdapter.DoubleAdapterA simple property adapter for double. |
static class |
SimpleAdapter.FloatAdapterA simple property adapter for float. |
static class |
SimpleAdapter.IntAdapterA simple property adapter for int. |
static class |
SimpleAdapter.LongAdapterA simple property adapter for long. |
static class |
SimpleAdapter.OldDateAdapterA simple property adapter for the Date class from the java/util package. |
static class |
SimpleAdapter.ShortAdapterA simple property adapter for short. |
static class |
SimpleAdapter.StringAdapterA simple property adapter for String. |
static class |
SimpleAdapter.SystemTimeAdapterA simple property adapter for Java long and java.lang.Long values that is string-formatted as a date/time, assuming that the long value is actualy a system time. |
static class |
SimpleAdapter.TimeAdapterA simple property adapter for Time. |
static class |
SimpleAdapter.TimestampAdapterA simple property adapter for Timestamp. |
| 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 | |
|---|---|
SimpleAdapter(XmlBean.BeanInfo infoBean, java.lang.Class clzType, java.lang.String sName, java.lang.String sXml, XmlElement xml)Construct a SimpleAdapter. |
|
| Method Summary | |
|---|---|
static java.lang.String |
decodeString(java.lang.String sUri)Parse escaped string into a string. |
static java.lang.String |
encodeString(java.lang.String s)Parse escaped string into a string. |
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. |
protected static java.lang.String |
parseNumber(java.lang.String sValue)Parse parenthesized number string into a negative number string. |
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. |
| Methods inherited from class com.tangosol.run.xml.PropertyAdapter |
|---|
clone, equalsValue, findAttribute, findElement, get, getAccessor, getBeanInfo, getCloner, getElements, getLocalXmlName, getMutator, getName, getNamespacePrefix, getNamespaceUri, getType, getXmlName, hash, isAnonymous, isAttribute, isElementMatch, isEmpty, readExternal, readXml, set, setNamespacePrefix, toString, writeExternal, 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 SimpleAdapter(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 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 elementprotected static java.lang.String parseNumber(java.lang.String sValue)
public static java.lang.String decodeString(java.lang.String sUri)
public static java.lang.String encodeString(java.lang.String s)
|
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 | |||||||