chemaxon.struc
Class MDocument.Prop

java.lang.Object
  extended by chemaxon.struc.MProp
      extended by chemaxon.struc.MDocument.Prop
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
MDocument

public class MDocument.Prop
extends MProp

Property that stores an MDocument.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class chemaxon.struc.MProp
CONV_SELFREF, COORDDEP
 
Constructor Summary
MDocument.Prop()
           
 
Method Summary
 MProp cloneProp()
          Creates a clone.
 java.lang.String convertToString(java.lang.String fmt, int flags)
          Deprecated. As of release 5.7, replaced by MolExporter.convertToString(MDocument, String, int)
 int getPropArraySize()
          Gets the array size.
 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.
 
Methods inherited from class chemaxon.struc.MProp
convertToString, getGrinvCC, isCoordDependent, setCoordDependent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDocument.Prop

public MDocument.Prop()
Method Detail

getPropArraySize

public int getPropArraySize()
Gets the array size.

Overrides:
getPropArraySize in class MProp
Returns:
-1 (this is not an array type attribute)
Since:
Marvin 4.1, 11/20/2005

convertToString

@Deprecated
public java.lang.String convertToString(java.lang.String fmt,
                                                   int flags)
                                 throws java.lang.IllegalArgumentException
Deprecated. As of release 5.7, replaced by MolExporter.convertToString(MDocument, String, int)

Converts the molecule to text format.

Specified by:
convertToString in class MProp
Parameters:
fmt - the molecule file format or null
flags - optional conversion flags
Returns:
the string
Throws:
java.lang.IllegalArgumentException
Since:
Marvin 5.0, 11/05/2007
See Also:
MProp.CONV_SELFREF

getPropValue

public java.lang.Object getPropValue()
Gets the property value as an object.

Specified by:
getPropValue in class MProp
Returns:
this MDocument

getPropType

public java.lang.String getPropType()
Gets the type name of the property.

Specified by:
getPropType in class MProp
Returns:
the name
Since:
Marvin 4.1, 11/20/2005

getPropXSDType

public java.lang.String getPropXSDType()
Gets the XSD type name of the property.

Specified by:
getPropXSDType in class MProp
Returns:
"ENTITY"
Since:
Marvin 4.1, 11/20/2005

cloneProp

public final MProp cloneProp()
Creates a clone.

Specified by:
cloneProp in class MProp
Returns:
the clone
Since:
Marvin 4.1, 11/20/2005