public class CMLUtilities extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ExplicitH |
static int |
MAXRINGS |
static String |
RingData |
static String |
RingData2 |
static String |
SMARTSProp |
Constructor and Description |
---|
CMLUtilities() |
Modifier and Type | Method and Description |
---|---|
void |
extractCMLAtomProperties(org.openscience.cdk.interfaces.IAtom atom,
String CMLProperty)
Converts per-atom string property into internal structure
|
void |
extractSMARTSProperties(org.openscience.cdk.interfaces.IAtomContainer mol)
Retrieves properties (set by
setCMLSmartsProperties Expects
SMARTSProp to be set for each atom ! |
void |
setCMLSMARTSProperties(org.openscience.cdk.interfaces.IAtomContainer mol)
Generates attributes and sets atom & bond attributes for every atom as
atom properties
|
public static final String SMARTSProp
public static final String RingData
public static final String RingData2
public static final String ExplicitH
public static final int MAXRINGS
public void setCMLSMARTSProperties(org.openscience.cdk.interfaces.IAtomContainer mol)
mol
- public void extractSMARTSProperties(org.openscience.cdk.interfaces.IAtomContainer mol)
setCMLSmartsProperties
Expects
SMARTSProp to be set for each atom !mol
- public void extractCMLAtomProperties(org.openscience.cdk.interfaces.IAtom atom, String CMLProperty)
atom
- CMLProperty
- Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.