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 voidaddAttribute(SB sb, String key, String val) protected static voidaddAttributes(SB sb, String[] attributes) protected static voidappendEmptyTag(SB sb, String name, String[] attributes) protected static voidstatic voidopenDocument(SB sb) protected static voidvoidprotected static voidstartOpenTag(SB sb, String name) protected static voidterminateEmptyTag(SB sb) protected static voidterminateTag(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:
setin interfaceJmolWriter
-
write
- Specified by:
writein interfaceJmolWriter
-
openDocument
-
openTag
-
startOpenTag
-
terminateTag
-
terminateEmptyTag
-
appendEmptyTag
-
addAttributes
-
addAttribute
-
closeTag
-
toString
-