Constructor and Description |
---|
StringEncoding() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMime() |
java.lang.String |
getMimeSimpleData(java.lang.Object obj)
Method called if isSimpleValue
|
int |
getValueType() |
boolean |
isComplexValue() |
boolean |
isInstanceOf(java.lang.Object test) |
boolean |
isSimpleValue() |
java.lang.Object |
readBytes(byte[] sourceData)
Method called if the mime type does not begin with number
|
java.lang.Object |
readMimeString(java.lang.String nval)
Method called if the mime type begins with number
|
byte[] |
writeBytes(java.lang.Object toSerialize)
Method called to create a set of bytes from Object.
|
public int getValueType()
getValueType
in interface IEncoding
public boolean isSimpleValue()
isSimpleValue
in interface IEncoding
public boolean isComplexValue()
isComplexValue
in interface IEncoding
public java.lang.String getMimeSimpleData(java.lang.Object obj)
IEncoding
getMimeSimpleData
in interface IEncoding
public java.lang.Object readBytes(byte[] sourceData)
IEncoding
public java.lang.Object readMimeString(java.lang.String nval)
IEncoding
readMimeString
in interface IEncoding
public boolean isInstanceOf(java.lang.Object test)
isInstanceOf
in interface IEncoding
public byte[] writeBytes(java.lang.Object toSerialize)
IEncoding
writeBytes
in interface IEncoding