|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.struc.MProp
chemaxon.struc.prop.MObjectProp
public class MObjectProp
Property that stores any object. It is imported and exported using serialization and base64 encoding.
| Field Summary |
|---|
| Fields inherited from class chemaxon.struc.MProp |
|---|
CONV_SELFREF, COORDDEP |
| Constructor Summary | |
|---|---|
MObjectProp(java.lang.Object o)
Constructs a property object. |
|
MObjectProp(java.lang.String sval)
Constructs a property from a string value. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clones the object. |
MProp |
cloneProp()
Clones the object. |
java.lang.String |
convertToString(java.lang.String fmt,
int flags)
Deprecated. As of Marvin 5.7, replaced by MPropHandler.convertToString(MProp, String) |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getPropType()
Gets the type name of the property. |
java.lang.Object |
getPropValue()
Gets the property value as an object. |
java.lang.String |
getPropXSDType()
Gets the XSD type name of the property. |
java.lang.String |
toString()
Create the serialized object base64 string representation. |
| Methods inherited from class chemaxon.struc.MProp |
|---|
convertToString, getGrinvCC, getPropArraySize, isCoordDependent, setCoordDependent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MObjectProp(java.lang.Object o)
o - the object
public MObjectProp(java.lang.String sval)
throws java.io.IOException
sval - the string value
java.io.IOException| Method Detail |
|---|
public java.lang.String convertToString(java.lang.String fmt,
int flags)
throws MolExportException
MPropHandler.convertToString(MProp, String)
convertToString in class MPropfmt - the molecule file format or nullflags - optional conversion flags
java.lang.IllegalArgumentException
MolExportExceptionMProp.CONV_SELFREFpublic java.lang.Object getPropValue()
getPropValue in class MProppublic java.lang.String getPropType()
getPropType in class MProppublic java.lang.String getPropXSDType()
getPropXSDType in class MProppublic MProp cloneProp()
cloneProp in class MProppublic java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class MPropjava.lang.IllegalArgumentException - if serialization or base64 encoding fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||