Package org.jmol.adapter.writers
Class CDXMLWriter
java.lang.Object
org.jmol.adapter.writers.CMLWriter
org.jmol.adapter.writers.CDXMLWriter
- All Implemented Interfaces:
JmolWriter
Minimal ChemDraw CDXML writer just converts CDX to CDXML involving just the
basic necessities for XmlCDXReader.
-
Field Summary
Fields inherited from class org.jmol.adapter.writers.CMLWriter
addBonds, allTrajectories, atomsMax, doTransform, oc, vwr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfromASC(AtomSetCollection asc) static StringfromCDX(GenericBinaryDocumentReader binaryDoc) static StringfromString(Viewer vwr, String type, String mol) static voidvoidstatic Stringwrap the string as character data, with replacements for [ noted as a list starting with * after the CDATA terminationMethods inherited from class org.jmol.adapter.writers.CMLWriter
addAttribute, addAttributes, appendEmptyTag, closeTag, openDocument, openTag, startOpenTag, terminateEmptyTag, terminateTag, toString
-
Constructor Details
-
CDXMLWriter
public CDXMLWriter()
-
-
Method Details
-
set
- Specified by:
setin interfaceJmolWriter- Overrides:
setin classCMLWriter
-
write
- Specified by:
writein interfaceJmolWriter- Overrides:
writein classCMLWriter
-
fromCDX
- Throws:
Exception
-
fromASC
-
wrapCData
wrap the string as character data, with replacements for [ noted as a list starting with * after the CDATA termination- Parameters:
s-- Returns:
- wrapped text
-
main
-
fromString
-