Package org.jmol.adapter.writers
Class CMLWriter
java.lang.Object
org.jmol.adapter.writers.CMLWriter
- All Implemented Interfaces:
JmolWriter
- Direct Known Subclasses:
CDXMLWriter
An XCrysDen XSF writer
see http://www.xcrysden.org/doc/XSF.html
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addAttribute
(SB sb, String key, String val) protected static void
addAttributes
(SB sb, String[] attributes) protected static void
appendEmptyTag
(SB sb, String name, String[] attributes) protected static void
static void
openDocument
(SB sb) protected static void
void
protected static void
startOpenTag
(SB sb, String name) protected static void
terminateEmptyTag
(SB sb) protected static void
terminateTag
(SB sb) toString()
-
Field Details
-
vwr
-
oc
-
atomsMax
protected int atomsMax -
addBonds
protected boolean addBonds -
doTransform
protected boolean doTransform -
allTrajectories
protected boolean allTrajectories
-
-
Constructor Details
-
CMLWriter
public CMLWriter()
-
-
Method Details
-
set
- Specified by:
set
in interfaceJmolWriter
-
write
- Specified by:
write
in interfaceJmolWriter
-
openDocument
-
openTag
-
startOpenTag
-
terminateTag
-
terminateEmptyTag
-
appendEmptyTag
-
addAttributes
-
addAttribute
-
closeTag
-
toString
-