diff options
Diffstat (limited to 'java/joelib2/io/types')
60 files changed, 914 insertions, 0 deletions
diff --git a/java/joelib2/io/types/Amber.class b/java/joelib2/io/types/Amber.class Binary files differnew file mode 100644 index 0000000..9ce9ae3 --- /dev/null +++ b/java/joelib2/io/types/Amber.class diff --git a/java/joelib2/io/types/BMP.class b/java/joelib2/io/types/BMP.class Binary files differnew file mode 100644 index 0000000..464a0f6 --- /dev/null +++ b/java/joelib2/io/types/BMP.class diff --git a/java/joelib2/io/types/ChemicalMarkupLanguage.class b/java/joelib2/io/types/ChemicalMarkupLanguage.class Binary files differnew file mode 100644 index 0000000..ec19323 --- /dev/null +++ b/java/joelib2/io/types/ChemicalMarkupLanguage.class diff --git a/java/joelib2/io/types/ClearTextFormat.class b/java/joelib2/io/types/ClearTextFormat.class Binary files differnew file mode 100644 index 0000000..46b4bd7 --- /dev/null +++ b/java/joelib2/io/types/ClearTextFormat.class diff --git a/java/joelib2/io/types/Flat.class b/java/joelib2/io/types/Flat.class Binary files differnew file mode 100644 index 0000000..4dfb41c --- /dev/null +++ b/java/joelib2/io/types/Flat.class diff --git a/java/joelib2/io/types/GIF.class b/java/joelib2/io/types/GIF.class Binary files differnew file mode 100644 index 0000000..c252f06 --- /dev/null +++ b/java/joelib2/io/types/GIF.class diff --git a/java/joelib2/io/types/Gaussian.class b/java/joelib2/io/types/Gaussian.class Binary files differnew file mode 100644 index 0000000..90e35b8 --- /dev/null +++ b/java/joelib2/io/types/Gaussian.class diff --git a/java/joelib2/io/types/Ghemical.class b/java/joelib2/io/types/Ghemical.class Binary files differnew file mode 100644 index 0000000..c776727 --- /dev/null +++ b/java/joelib2/io/types/Ghemical.class diff --git a/java/joelib2/io/types/HIN.class b/java/joelib2/io/types/HIN.class Binary files differnew file mode 100644 index 0000000..4c02ecb --- /dev/null +++ b/java/joelib2/io/types/HIN.class diff --git a/java/joelib2/io/types/JCAMP.class b/java/joelib2/io/types/JCAMP.class Binary files differnew file mode 100644 index 0000000..4be9b8d --- /dev/null +++ b/java/joelib2/io/types/JCAMP.class diff --git a/java/joelib2/io/types/JPEG.class b/java/joelib2/io/types/JPEG.class Binary files differnew file mode 100644 index 0000000..e53cd46 --- /dev/null +++ b/java/joelib2/io/types/JPEG.class diff --git a/java/joelib2/io/types/MDLSD.class b/java/joelib2/io/types/MDLSD.class Binary files differnew file mode 100644 index 0000000..466ce65 --- /dev/null +++ b/java/joelib2/io/types/MDLSD.class diff --git a/java/joelib2/io/types/Matlab.class b/java/joelib2/io/types/Matlab.class Binary files differnew file mode 100644 index 0000000..439e73c --- /dev/null +++ b/java/joelib2/io/types/Matlab.class diff --git a/java/joelib2/io/types/MolconnZ.class b/java/joelib2/io/types/MolconnZ.class Binary files differnew file mode 100644 index 0000000..0757adf --- /dev/null +++ b/java/joelib2/io/types/MolconnZ.class diff --git a/java/joelib2/io/types/Mopac.class b/java/joelib2/io/types/Mopac.class Binary files differnew file mode 100644 index 0000000..d315e50 --- /dev/null +++ b/java/joelib2/io/types/Mopac.class diff --git a/java/joelib2/io/types/PDB.class b/java/joelib2/io/types/PDB.class Binary files differnew file mode 100644 index 0000000..2fb591f --- /dev/null +++ b/java/joelib2/io/types/PDB.class diff --git a/java/joelib2/io/types/PDF.class b/java/joelib2/io/types/PDF.class Binary files differnew file mode 100644 index 0000000..0aef55a --- /dev/null +++ b/java/joelib2/io/types/PDF.class diff --git a/java/joelib2/io/types/PNG.class b/java/joelib2/io/types/PNG.class Binary files differnew file mode 100644 index 0000000..ad5cc88 --- /dev/null +++ b/java/joelib2/io/types/PNG.class diff --git a/java/joelib2/io/types/POVRay.class b/java/joelib2/io/types/POVRay.class Binary files differnew file mode 100644 index 0000000..ac784fd --- /dev/null +++ b/java/joelib2/io/types/POVRay.class diff --git a/java/joelib2/io/types/PPM.class b/java/joelib2/io/types/PPM.class Binary files differnew file mode 100644 index 0000000..cb4abe4 --- /dev/null +++ b/java/joelib2/io/types/PPM.class diff --git a/java/joelib2/io/types/Smiles.class b/java/joelib2/io/types/Smiles.class Binary files differnew file mode 100644 index 0000000..31d2155 --- /dev/null +++ b/java/joelib2/io/types/Smiles.class diff --git a/java/joelib2/io/types/SybylMol2.class b/java/joelib2/io/types/SybylMol2.class Binary files differnew file mode 100644 index 0000000..626d238 --- /dev/null +++ b/java/joelib2/io/types/SybylMol2.class diff --git a/java/joelib2/io/types/Tinker.class b/java/joelib2/io/types/Tinker.class Binary files differnew file mode 100644 index 0000000..03ac641 --- /dev/null +++ b/java/joelib2/io/types/Tinker.class diff --git a/java/joelib2/io/types/Undefined.class b/java/joelib2/io/types/Undefined.class Binary files differnew file mode 100644 index 0000000..3d7df62 --- /dev/null +++ b/java/joelib2/io/types/Undefined.class diff --git a/java/joelib2/io/types/XYZ.class b/java/joelib2/io/types/XYZ.class Binary files differnew file mode 100644 index 0000000..8c4aa24 --- /dev/null +++ b/java/joelib2/io/types/XYZ.class diff --git a/java/joelib2/io/types/ZIP.class b/java/joelib2/io/types/ZIP.class Binary files differnew file mode 100644 index 0000000..42e2a72 --- /dev/null +++ b/java/joelib2/io/types/ZIP.class diff --git a/java/joelib2/io/types/chemrss/RSSHandler.class b/java/joelib2/io/types/chemrss/RSSHandler.class Binary files differnew file mode 100644 index 0000000..2cfd26f --- /dev/null +++ b/java/joelib2/io/types/chemrss/RSSHandler.class diff --git a/java/joelib2/io/types/cml/CDKConvention.class b/java/joelib2/io/types/cml/CDKConvention.class Binary files differnew file mode 100644 index 0000000..403adfc --- /dev/null +++ b/java/joelib2/io/types/cml/CDKConvention.class diff --git a/java/joelib2/io/types/cml/CDOAcceptedObjects.class b/java/joelib2/io/types/cml/CDOAcceptedObjects.class Binary files differnew file mode 100644 index 0000000..e8e23d7 --- /dev/null +++ b/java/joelib2/io/types/cml/CDOAcceptedObjects.class diff --git a/java/joelib2/io/types/cml/CDOInterface.class b/java/joelib2/io/types/cml/CDOInterface.class Binary files differnew file mode 100644 index 0000000..cd30c77 --- /dev/null +++ b/java/joelib2/io/types/cml/CDOInterface.class diff --git a/java/joelib2/io/types/cml/CMLCoreModule.class b/java/joelib2/io/types/cml/CMLCoreModule.class Binary files differnew file mode 100644 index 0000000..7c29f82 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLCoreModule.class diff --git a/java/joelib2/io/types/cml/CMLErrorHandler.class b/java/joelib2/io/types/cml/CMLErrorHandler.class Binary files differnew file mode 100644 index 0000000..65e5e2a --- /dev/null +++ b/java/joelib2/io/types/cml/CMLErrorHandler.class diff --git a/java/joelib2/io/types/cml/CMLHandler.class b/java/joelib2/io/types/cml/CMLHandler.class Binary files differnew file mode 100644 index 0000000..dc179b7 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLHandler.class diff --git a/java/joelib2/io/types/cml/CMLIDCreator.class b/java/joelib2/io/types/cml/CMLIDCreator.class Binary files differnew file mode 100644 index 0000000..c4d7421 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLIDCreator.class diff --git a/java/joelib2/io/types/cml/CMLMoleculeWriter.class b/java/joelib2/io/types/cml/CMLMoleculeWriter.class Binary files differnew file mode 100644 index 0000000..772fb97 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLMoleculeWriter.class diff --git a/java/joelib2/io/types/cml/CMLMoleculeWriterBase.class b/java/joelib2/io/types/cml/CMLMoleculeWriterBase.class Binary files differnew file mode 100644 index 0000000..b065968 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLMoleculeWriterBase.class diff --git a/java/joelib2/io/types/cml/CMLPropertyWriter.class b/java/joelib2/io/types/cml/CMLPropertyWriter.class Binary files differnew file mode 100644 index 0000000..4ce4b96 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLPropertyWriter.class diff --git a/java/joelib2/io/types/cml/CMLReactionModule.class b/java/joelib2/io/types/cml/CMLReactionModule.class Binary files differnew file mode 100644 index 0000000..84c8fb4 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLReactionModule.class diff --git a/java/joelib2/io/types/cml/CMLResolver.class b/java/joelib2/io/types/cml/CMLResolver.class Binary files differnew file mode 100644 index 0000000..bd6714e --- /dev/null +++ b/java/joelib2/io/types/cml/CMLResolver.class diff --git a/java/joelib2/io/types/cml/CMLSequentialSAXReader.class b/java/joelib2/io/types/cml/CMLSequentialSAXReader.class Binary files differnew file mode 100644 index 0000000..8b1d387 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLSequentialSAXReader.class diff --git a/java/joelib2/io/types/cml/CMLStack.class b/java/joelib2/io/types/cml/CMLStack.class Binary files differnew file mode 100644 index 0000000..97eaed1 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLStack.class diff --git a/java/joelib2/io/types/cml/CMLSymmetryWriter.class b/java/joelib2/io/types/cml/CMLSymmetryWriter.class Binary files differnew file mode 100644 index 0000000..60297d4 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLSymmetryWriter.class diff --git a/java/joelib2/io/types/cml/CMLWriterProperties.class b/java/joelib2/io/types/cml/CMLWriterProperties.class Binary files differnew file mode 100644 index 0000000..1198763 --- /dev/null +++ b/java/joelib2/io/types/cml/CMLWriterProperties.class diff --git a/java/joelib2/io/types/cml/ConventionInterface.class b/java/joelib2/io/types/cml/ConventionInterface.class Binary files differnew file mode 100644 index 0000000..997260b --- /dev/null +++ b/java/joelib2/io/types/cml/ConventionInterface.class diff --git a/java/joelib2/io/types/cml/ModuleInterface.class b/java/joelib2/io/types/cml/ModuleInterface.class Binary files differnew file mode 100644 index 0000000..71c9681 --- /dev/null +++ b/java/joelib2/io/types/cml/ModuleInterface.class diff --git a/java/joelib2/io/types/cml/MoleculeArray.class b/java/joelib2/io/types/cml/MoleculeArray.class Binary files differnew file mode 100644 index 0000000..ebaa789 --- /dev/null +++ b/java/joelib2/io/types/cml/MoleculeArray.class diff --git a/java/joelib2/io/types/cml/MoleculeAttributeArray.class b/java/joelib2/io/types/cml/MoleculeAttributeArray.class Binary files differnew file mode 100644 index 0000000..7d3f8db --- /dev/null +++ b/java/joelib2/io/types/cml/MoleculeAttributeArray.class diff --git a/java/joelib2/io/types/cml/MoleculeFileCDO.class b/java/joelib2/io/types/cml/MoleculeFileCDO.class Binary files differnew file mode 100644 index 0000000..7ba0a4b --- /dev/null +++ b/java/joelib2/io/types/cml/MoleculeFileCDO.class diff --git a/java/joelib2/io/types/cml/MoleculeHuge.class b/java/joelib2/io/types/cml/MoleculeHuge.class Binary files differnew file mode 100644 index 0000000..4c4dc88 --- /dev/null +++ b/java/joelib2/io/types/cml/MoleculeHuge.class diff --git a/java/joelib2/io/types/cml/MoleculeLarge.class b/java/joelib2/io/types/cml/MoleculeLarge.class Binary files differnew file mode 100644 index 0000000..6bc2226 --- /dev/null +++ b/java/joelib2/io/types/cml/MoleculeLarge.class diff --git a/java/joelib2/io/types/cml/ResultCMLProperties.class b/java/joelib2/io/types/cml/ResultCMLProperties.class Binary files differnew file mode 100644 index 0000000..99a9b69 --- /dev/null +++ b/java/joelib2/io/types/cml/ResultCMLProperties.class diff --git a/java/joelib2/io/types/cml/XMLHandler.class b/java/joelib2/io/types/cml/XMLHandler.class Binary files differnew file mode 100644 index 0000000..02333b2 --- /dev/null +++ b/java/joelib2/io/types/cml/XMLHandler.class diff --git a/java/joelib2/io/types/cml/XMLSpecialCharacter.class b/java/joelib2/io/types/cml/XMLSpecialCharacter.class Binary files differnew file mode 100644 index 0000000..a03039e --- /dev/null +++ b/java/joelib2/io/types/cml/XMLSpecialCharacter.class diff --git a/java/joelib2/io/types/cml/data/cml1_0.dtd b/java/joelib2/io/types/cml/data/cml1_0.dtd new file mode 100644 index 0000000..6cafefe --- /dev/null +++ b/java/joelib2/io/types/cml/data/cml1_0.dtd @@ -0,0 +1,429 @@ +<!-- Appendix A - CML DTD-1999-05-15 --> +<!-- Authors: + P.Murray-Rust + H.Rzepa +This DTD is fully described in Journal of Chemical Information + and Computer Science, Vol xxx, 1999, pp. xxx +--> + +<!-- =======================================================--> +<!-- PARAMETER ENTITIES --> +<!-- =======================================================--> + +<!-- ======attributes found on almost all elements ==========--> + +<!ENTITY % title 'title CDATA #IMPLIED'> +<!ENTITY % id 'id CDATA #IMPLIED'> +<!ENTITY % convention 'convention CDATA "CML"'> +<!ENTITY % dictRef 'dictRef CDATA #IMPLIED'> + +<!-- ======linking information ==============================--> + +<!ENTITY % simpleLink 'href CDATA #REQUIRED'> + +<!-- ======quantifiers and constraints on some primitives ===--> + +<!ENTITY % count 'count CDATA "1"'> +<!ENTITY % size 'size CDATA #IMPLIED'> +<!ENTITY % rows 'rows CDATA #REQUIRED'> +<!ENTITY % columns 'columns CDATA #REQUIRED'> + +<!-- ======constraints on some numeric data primitives ===--> + +<!ENTITY % min 'min CDATA #IMPLIED'> +<!ENTITY % max 'max CDATA #IMPLIED'> +<!ENTITY % units 'units CDATA #IMPLIED'> +<!ENTITY % angleUnits 'units (degrees | radians) "degrees"'> +<!ENTITY % unitsRef 'unitsRef CDATA #IMPLIED'> + +<!-- values which may be useful in min and max attributes --> +<!ENTITY % integer.zero '0'> +<!ENTITY % integer.max '2147483647'> +<!ENTITY % integer.min '-2147483648'> +<!ENTITY % float.zero '0.0'> +<!ENTITY % float.max '8.98846567431158E307'> +<!ENTITY % float.min '4.9E-324'> + +<!-- ======= builtin values for any element ================--> +<!ENTITY % builtinId 'id'> + +<!-- ======= builtin values for atoms ======================--> +<!ENTITY % elementType 'elementType'> +<!ENTITY % atomId 'atomId'> + +<!ENTITY % x2 'x2'> +<!ENTITY % y2 'y2'> +<!ENTITY % x3 'x3'> +<!ENTITY % y3 'y3'> +<!ENTITY % z3 'z3'> +<!ENTITY % xy2 'xy2'> +<!ENTITY % xyz3 'xyz3'> +<!ENTITY % xFract 'xFract'> +<!ENTITY % yFract 'yFract'> +<!ENTITY % zFract 'zFract'> +<!ENTITY % xyzFract 'xyzFract'> +<!ENTITY % occupancy 'occupancy'> +<!ENTITY % isotope 'isotope'> +<!ENTITY % formalCharge 'formalCharge'> +<!ENTITY % nonHydrogenCount 'nonHydrogenCount'> +<!ENTITY % hydrogenCount 'hydrogenCount'> +<!ENTITY % atomParity 'atomParity'> + +<!ENTITY % residueType 'residueType'> +<!ENTITY % residueId 'residueId'> + +<!ENTITY % atomStringBuiltin ' + %elementType; | %atomId; | + %residueType; | %residueId; + ' +> +<!ENTITY % atomFloatBuiltin ' + %x2; | %y2; | + %x3; | %y3; | %z3; | + %xFract; | %yFract; | %zFract; | + %occupancy; | %isotope; | + %formalCharge; | %hydrogenCount; | %nonHydrogenCount; | + %atomParity; + ' +> +<!ENTITY % atomIntegerBuiltin ' + %isotope; | + %formalCharge; | %hydrogenCount; | %nonHydrogenCount; | + %atomParity; + ' +> +<!ENTITY % atomCoordinate2Builtin ' + %xy2; + ' +> +<!ENTITY % atomCoordinate3Builtin ' + %xyz3; | %xyzFract; + ' +> +<!-- ======= builtin values for bonds ======================--> +<!ENTITY % atomRef 'atomRef'> +<!ENTITY % builtinAtomRefs 'atomRefs'> +<!ENTITY % length 'length'> +<!ENTITY % order 'order'> +<!ENTITY % stereo 'stereo'> +<!ENTITY % atomRefs 'atomRefs CDATA #IMPLIED'> + +<!ENTITY % bondStringBuiltin ' + %atomRef; | %builtinAtomRefs; | + %order; | + %stereo; + ' +> +<!ENTITY % bondFloatBuiltin ' + %length; + ' +> +<!ENTITY % bondIntegerBuiltin '' +> +<!-- ======= builtin values for crystal ====================--> + +<!ENTITY % acell 'acell'> +<!ENTITY % bcell 'bcell'> +<!ENTITY % ccell 'ccell'> +<!ENTITY % alpha 'alpha'> +<!ENTITY % beta 'beta'> +<!ENTITY % gamma 'gamma'> +<!ENTITY % z 'z'> +<!ENTITY % spacegroup 'spacegroup'> + +<!ENTITY % crystalStringBuiltin ' + %spacegroup; + ' +> +<!ENTITY % crystalFloatBuiltin ' + %acell; | %bcell; | %ccell; | + %alpha; | %beta; | %gamma; | + %z; + ' +> +<!ENTITY % crystalIntegerBuiltin ' + %z; + ' +> +<!-- =======================================================--> +<!ENTITY % stringBuiltin ' + builtin ( + %builtinId; | + %atomStringBuiltin; | + %bondStringBuiltin; | + %crystalStringBuiltin; + ) #IMPLIED ' +> +<!ENTITY % floatBuiltin ' + builtin ( + %atomFloatBuiltin; | + %bondFloatBuiltin; | + %crystalFloatBuiltin; + ) #IMPLIED ' +> +<!ENTITY % integerBuiltin ' + builtin ( + %atomIntegerBuiltin; | + %crystalIntegerBuiltin; + ) #IMPLIED ' +> +<!ENTITY % coordinate2Builtin ' + builtin ( + %atomCoordinate2Builtin; + ) #IMPLIED ' +> +<!ENTITY % coordinate3Builtin ' + builtin ( + %atomCoordinate3Builtin; + ) #IMPLIED ' +> + +<!-- =======================================================--> +<!-- ELEMENTS for widely used data primitives --> +<!-- =======================================================--> + +<!ELEMENT string (#PCDATA)> +<!ATTLIST string + %title; + %id; + %stringBuiltin; + %dictRef; + %convention; +> +<!ELEMENT link (#PCDATA)> +<!ATTLIST link + %title; + %id; + %simpleLink; + %convention; +> +<!ELEMENT float (#PCDATA)> +<!ATTLIST float + %title; + %id; + %floatBuiltin; + %min; + %max; + %units; + %unitsRef; + %dictRef; + %convention; +> +<!ELEMENT integer (#PCDATA)> +<!ATTLIST integer + %title; + %id; + %integerBuiltin; + %min; + %max; + %units; + %unitsRef; + %dictRef; + %convention; +> +<!ELEMENT stringArray (#PCDATA)> +<!ATTLIST stringArray + %title; + %id; + %stringBuiltin; + %size; + %min; + %max; + delimiter CDATA #IMPLIED + %dictRef; + %convention; +> +<!ELEMENT floatArray (#PCDATA)> +<!ATTLIST floatArray + %title; + %id; + %floatBuiltin; + %size; + %min; + %max; + %units; + %unitsRef; + %dictRef; + %convention; +> +<!ELEMENT integerArray (#PCDATA)> +<!ATTLIST integerArray + %title; + %id; + %integerBuiltin; + %size; + %min; + %max; + %units; + %unitsRef; + %dictRef; + %convention; +> +<!ELEMENT floatMatrix (#PCDATA)> +<!ATTLIST floatMatrix + %title; + %id; + %rows; + %delimiter; + %columns; + %min; + %max; + %units; + %unitsRef; + %dictRef; + %convention; +> + +<!ELEMENT coordinate2 (#PCDATA)> +<!ATTLIST coordinate2 + %title; + %id; + %coordinate2Builtin; + %unitsRef; + %dictRef; + %convention; +> + +<!ELEMENT coordinate3 (#PCDATA)> +<!ATTLIST coordinate3 + %title; + %id; + %coordinate3Builtin; + %unitsRef; + %dictRef; + %convention; +> +<!ELEMENT angle (#PCDATA)> +<!ATTLIST angle + %title; + %id; + %atomRefs; + %angleUnits; + %min; + %max; + %dictRef; + %convention; +> + +<!ELEMENT torsion (#PCDATA)> +<!ATTLIST torsion + %title; + %id; + %atomRefs; + %angleUnits; + %min; + %max; + %dictRef; + %convention; +> + +<!ELEMENT list ANY> +<!ATTLIST list + %title; + %id; +> + +<!-- =======================================================--> +<!-- ELEMENTS for chemical and crystallographic concepts --> +<!-- =======================================================--> +<!-- NOTE + for elements which have element-specific values for the + builtin attribute, those values are already listed as + entities +--> +<!-- =======================================================--> + +<!ELEMENT molecule ANY> +<!ATTLIST molecule + %title; + %id; + %count; + %dictRef; + %convention; +> + +<!-- ========================================================--> +<!ELEMENT formula ANY> +<!ATTLIST formula + %title; + %id; + %count; + %dictRef; + %convention; +> + +<!-- ========================================================--> +<!ELEMENT atom ANY> +<!ATTLIST atom + %title; + %id; + %count; + %dictRef; + %convention; +> + +<!-- .......................................................--> +<!ELEMENT atomArray ANY> +<!ATTLIST atomArray + %title; + %id; + %dictRef; + %convention; +> + +<!-- ========================================================--> +<!ELEMENT bond ANY> +<!ATTLIST bond + %id; + %atomRefs; + %dictRef; + %convention; +> + +<!-- ========================================================--> +<!ELEMENT bondArray ANY> +<!ATTLIST bondArray + %id; + %dictRef; + %convention; +> +<!-- ========================================================--> +<!ELEMENT electron ANY> +<!ATTLIST electron + %id; + %count; + %dictRef; + %convention; +> +<!-- ========================================================--> +<!ELEMENT reaction ANY> +<!ATTLIST reaction + %id; + %dictRef; + %convention; +> +<!-- ======================================================= --> +<!ELEMENT crystal ANY> +<!ATTLIST crystal + %title; + %id; + %dictRef; + %convention; +> +<!-- ======================================================= --> +<!ELEMENT sequence ANY> +<!ATTLIST sequence + %title; + %id; + %dictRef; + %convention; +> + +<!-- ======================================================= --> +<!ELEMENT feature ANY> +<!ATTLIST feature + %title; + %id; + %dictRef; + %convention; +> diff --git a/java/joelib2/io/types/cml/data/cml1_0_1.dtd b/java/joelib2/io/types/cml/data/cml1_0_1.dtd new file mode 100644 index 0000000..706b1ab --- /dev/null +++ b/java/joelib2/io/types/cml/data/cml1_0_1.dtd @@ -0,0 +1,485 @@ +<!-- CML V1.01 DTD --> +<!-- Amendments and errata from V1. (1999-05-15) --> +<!-- Authors: + P.Murray-Rust + H.Rzepa +This DTD is fully described in P. Murray-Rust and H. S. Rzepa, Journal of Chem +ical Information + and Computer Science, 1999, 39, 928. +--> +<!-- Changes (2001-04-06): +1. atomRefs has been added as an attribute for string, + float, integer and their *Arrays +2. some elements and attributes have been annotated as + belonging to a subset "CoreCML" for simple small molecules +3. multiple dictRef on molecule removed +4. delimiter attribute added to floatArray, integerArray, floatMatrix +5. generic PE's created for many attributes for ease of maintenance + no new attributes created +6. dictRef added to a very small number of elements - this is now + almost universal +--> + +<!-- elements and attributes fall into 2 categories: + coreCML - a subset of CML for easy implementation for small molecules + fullCML - the full DTD (includes coreCML) +--> +<!-- % fullCML can be overridden +by prepending the statement: +<!ENTITY % fullCML "IGNORE"> +at this stage (or transmitting it in from the parser controls if +implemented) --> + +<!ENTITY % coreCML "INCLUDE"> +<!ENTITY % fullCML "INCLUDE"> + +<!-- =======================================================--> +<!-- PARAMETER ENTITIES --> +<!-- =======================================================--> + +<!-- ======attributes found on almost all elements ==========--> + +<!ENTITY % title 'title CDATA #IMPLIED'> +<!ENTITY % id 'id CDATA #IMPLIED'> +<!ENTITY % convention 'convention CDATA "CML"'> +<!ENTITY % dictRef 'dictRef CDATA #IMPLIED'> + +<!-- a very common combination (on most elements) --> +<!ENTITY % tit_id_conv '%title; %id; %convention;'> +<!ENTITY % tit_id_conv_dict '%tit_id_conv; %dictRef;'> + +<!-- ======linking information ==============================--> + +<!ENTITY % simpleLink 'href CDATA #REQUIRED'> + +<!-- ======quantifiers and constraints on some primitives ===--> + +<!ENTITY % count 'count CDATA "1"'> +<![ %fullCML; [ +<!ENTITY % size 'size CDATA #IMPLIED'> +<!ENTITY % rows 'rows CDATA #REQUIRED'> +<!ENTITY % columns 'columns CDATA #REQUIRED'> +]]> +<!ENTITY % size ''> +<!ENTITY % rows ''> +<!ENTITY % columns ''> + +<!-- ====== delimiter in Array elements ===--> +<!ENTITY % delimiter 'delimiter CDATA #IMPLIED'> + +<!-- ======constraints on some numeric data primitives ===--> + +<!ENTITY % units 'units CDATA #IMPLIED'> + +<![%fullCML;[ +<!ENTITY % min 'min CDATA #IMPLIED'> +<!ENTITY % max 'max CDATA #IMPLIED'> +<!ENTITY % angleUnits 'units (degrees | radians) "degrees"'> +<!ENTITY % unitsRef 'unitsRef CDATA #IMPLIED'> +]]> +<!ENTITY % min ''> +<!ENTITY % max ''> +<!ENTITY % angleUnits ''> +<!ENTITY % unitsRef ''> + +<!-- for CoreCML degrees are mandatory --> +<!ENTITY % angleUnits 'units CDATA #FIXED "degrees"'> + +<!-- values which may be useful in min and max attributes --> +<!ENTITY % integer.zero '0'> +<!ENTITY % integer.max '2147483647'> +<!ENTITY % integer.min '-2147483648'> +<!ENTITY % float.zero '0.0'> +<!ENTITY % float.max '8.98846567431158E307'> +<!ENTITY % float.min '4.9E-324'> + +<!-- ======= builtin values for any element ================--> +<!ENTITY % builtinId 'id'> + +<!-- ======= builtin values for atoms ======================--> +<!ENTITY % elementType 'elementType'> + +<![%fullCML;[ +<!ENTITY % atomId ' | atomId '> +]]> +<!ENTITY % atomId ''> + +<!ENTITY % x2 'x2'> +<!ENTITY % y2 'y2'> +<!ENTITY % x3 'x3'> +<!ENTITY % y3 'y3'> +<!ENTITY % z3 'z3'> +<!ENTITY % xy2 'xy2'> +<!ENTITY % xyz3 'xyz3'> +<!ENTITY % xFract 'xFract'> +<!ENTITY % yFract 'yFract'> +<!ENTITY % zFract 'zFract'> +<!ENTITY % xyzFract 'xyzFract'> +<!ENTITY % occupancy 'occupancy'> +<!ENTITY % isotope 'isotope'> +<!ENTITY % formalCharge 'formalCharge'> +<!ENTITY % nonHydrogenCount 'nonHydrogenCount'> +<!ENTITY % hydrogenCount 'hydrogenCount'> +<!ENTITY % atomParity 'atomParity'> + +<![%fullCML;[ +<!ENTITY % residueType ' | residueType'> +<!ENTITY % residueId ' | residueId'> +]]> +<!ENTITY % residueType ''> +<!ENTITY % residueId ''> + +<!ENTITY % atomStringBuiltin ' + %elementType; %atomId; + %residueType; %residueId; + ' +> +<!ENTITY % atomFloatBuiltin ' + %x2; | %y2; | + %x3; | %y3; | %z3; | + %xFract; | %yFract; | %zFract; | + %occupancy; | %isotope; | + %formalCharge; | %hydrogenCount; | %nonHydrogenCount; | + %atomParity; + ' +> +<!ENTITY % atomIntegerBuiltin ' + %isotope; | + %formalCharge; | %hydrogenCount; | %nonHydrogenCount; | + %atomParity; + ' +> +<!ENTITY % atomCoordinate2Builtin ' + %xy2; + ' +> +<!ENTITY % atomCoordinate3Builtin ' + %xyz3; | %xyzFract; + ' +> +<!-- ======= builtin values for bonds ======================--> +<!ENTITY % atomRef 'atomRef'> +<!ENTITY % builtinAtomRefs 'atomRefs'> +<!ENTITY % length 'length'> +<!ENTITY % order 'order'> +<!ENTITY % stereo 'stereo'> +<!ENTITY % atomRefs 'atomRefs CDATA #IMPLIED'> + +<!ENTITY % bondStringBuiltin ' + %atomRef; | %builtinAtomRefs; | + %order; | + %stereo; + ' +> +<!ENTITY % bondFloatBuiltin ' + %length; + ' +> +<!ENTITY % bondIntegerBuiltin '' +> +<!-- ======= builtin values for crystal ====================--> + +<!ENTITY % acell 'acell'> +<!ENTITY % bcell 'bcell'> +<!ENTITY % ccell 'ccell'> +<!ENTITY % alpha 'alpha'> +<!ENTITY % beta 'beta'> +<!ENTITY % gamma 'gamma'> +<!ENTITY % z 'z'> +<!ENTITY % spacegroup 'spacegroup'> + +<!ENTITY % crystalStringBuiltin ' + %spacegroup; + ' +> +<!ENTITY % crystalFloatBuiltin ' + %acell; | %bcell; | %ccell; | + %alpha; | %beta; | %gamma; | + %z; + ' +> +<!ENTITY % crystalIntegerBuiltin ' + %z; + ' +> +<!-- =======================================================--> +<!ENTITY % stringBuiltin ' + builtin ( + %builtinId; | + %atomStringBuiltin; | + %bondStringBuiltin; | + %crystalStringBuiltin; + ) #IMPLIED ' +> +<!ENTITY % floatBuiltin ' + builtin ( + %atomFloatBuiltin; | + %bondFloatBuiltin; | + %crystalFloatBuiltin; + ) #IMPLIED ' +> +<!ENTITY % integerBuiltin ' + builtin ( + %atomIntegerBuiltin; | + %crystalIntegerBuiltin; + ) #IMPLIED ' +> +<!ENTITY % coordinate2Builtin ' + builtin ( + %atomCoordinate2Builtin; + ) #IMPLIED ' +> +<!ENTITY % coordinate3Builtin ' + builtin ( + %atomCoordinate3Builtin; + ) #IMPLIED ' +> + +<!-- =======================================================--> +<!-- ELEMENTS for widely used data primitives --> +<!-- =======================================================--> + +<!-- CML-DTD V1.01 addition + certain children of atom or bond may refer to atoms (particularly + builtin="atomParity" and builtin="stereo"). For these + we need the attribute 'atomRefs' +--> +<!ENTITY % scalar.content '(#PCDATA)'> +<!ENTITY % array.content '(#PCDATA)'> +<!ENTITY % matrix.content '(#PCDATA)'> +<!ENTITY % angle.content '(#PCDATA)'> +<!ENTITY % coordinate.content '(#PCDATA)'> + +<!ENTITY % array.atts + '%size; + %delimiter; +'> + +<!ELEMENT string %scalar.content;> +<!ATTLIST string + %tit_id_conv_dict; + %stringBuiltin; + %atomRefs; +> +<!-- link is for implementing XLink - only used in fullCML --> +<![ %fullCML; [ +<!ELEMENT link %scalar.content;> +<!ATTLIST link + %tit_id_conv; + %simpleLink; +> +]]> + +<!ELEMENT float %scalar.content;> +<!ATTLIST float + %tit_id_conv_dict; + %floatBuiltin; + %min; + %max; + %units; + %unitsRef; + %atomRefs; +> +<!ELEMENT integer %scalar.content;> +<!ATTLIST integer + %tit_id_conv_dict; + %integerBuiltin; + %min; + %max; + %units; + %unitsRef; + %atomRefs; +> +<!ELEMENT stringArray %array.content;> +<!ATTLIST stringArray + %tit_id_conv_dict; + %stringBuiltin; + %array.atts; + %min; + %max; +> +<!ELEMENT floatArray %array.content;> +<!ATTLIST floatArray + %tit_id_conv_dict; + %floatBuiltin; + %array.atts; + %units; + %unitsRef; + %min; + %max; +> +<!ELEMENT integerArray %array.content;> +<!ATTLIST integerArray + %tit_id_conv_dict; + %integerBuiltin; + %array.atts; + %min; + %max; + %units; + %unitsRef; +> +<!ELEMENT floatMatrix %matrix.content;> +<!ATTLIST floatMatrix + %tit_id_conv_dict; + %rows; + %columns; + %min; + %max; + %units; + %unitsRef; + %delimiter; +> + +<!ELEMENT coordinate2 %coordinate.content;> +<!ATTLIST coordinate2 + %tit_id_conv_dict; + %coordinate2Builtin; + %unitsRef; +> + +<!ELEMENT coordinate3 %coordinate.content;> +<!ATTLIST coordinate3 + %tit_id_conv_dict; + %coordinate3Builtin; + %unitsRef; +> +<!ELEMENT angle %angle.content;> +<!ATTLIST angle + %tit_id_conv_dict; + %atomRefs; + %angleUnits; + %min; + %max; +> + +<!ELEMENT torsion %angle.content;> +<!ATTLIST torsion + %tit_id_conv_dict; + %atomRefs; + %angleUnits; + %min; + %max; +> + +<!ELEMENT list ANY> +<!ATTLIST list + %tit_id_conv_dict; +> + +<!-- =======================================================--> +<!-- ELEMENTS for chemical and crystallographic concepts --> +<!-- =======================================================--> +<!-- NOTE + for elements which have element-specific values for the + builtin attribute, those values are already listed as + entities +--> +<!-- =======================================================--> +<![%fullCML;[ +<!ENTITY % molecule.content 'ANY'> +]]> +<!ENTITY % molecule.content '(atomArray, bondArray)'> + +<!ELEMENT molecule %molecule.content;> +<!ATTLIST molecule + %tit_id_conv_dict; + %count; +> + +<!-- ========================================================--> +<!ELEMENT formula ANY> +<!ATTLIST formula + %tit_id_conv_dict; + %count; +> + +<!-- ========================================================--> +<![%fullCML;[ +<!ENTITY % atom.content 'ANY'> +]]> +<!ENTITY % atom.content '(string | float | integer)*'> +<!ELEMENT atom %atom.content;> +<!ATTLIST atom + %tit_id_conv_dict; + %count; +> + +<!-- .......................................................--> +<![%fullCML;[ +<!ENTITY % atomArray.content 'ANY'> +]]> +<!ENTITY % atomArray.content ' + (atom+ | (stringArray | floatArray | integerArray)*) + ' +> +<!ELEMENT atomArray %atomArray.content;> +<!ATTLIST atomArray + %tit_id_conv; +> + +<!-- ========================================================--> +<![%fullCML;[ +<!ENTITY % bond.content 'ANY'> +]]> +<!ENTITY % bond.content '(string | float | integer)*'> +<!ELEMENT bond %bond.content;> +<!ATTLIST bond + %tit_id_conv_dict; + %atomRefs; +> + +<!-- ========================================================--> +<![%fullCML;[ +<!ENTITY % bondArray.content 'ANY'> +]]> +<!ENTITY % bondArray.content ' + (bond+ | (stringArray | floatArray | integerArray)*) + ' +> +<!ELEMENT bondArray %bondArray.content;> +<!ATTLIST bondArray + %tit_id_conv; +> +<!-- ========================================================--> +<![ %fullCML; [ +<!ELEMENT electron ANY> +<!ATTLIST electron + %tit_id_conv_dict; + %count; +> +]]> +<!-- ========================================================--> +<![ %fullCML; [ +<!ELEMENT reaction ANY> +<!ATTLIST reaction + %tit_id_conv_dict; +> +]]> + +<!-- ======================================================= --> + +<![%fullCML;[ +<!ENTITY % crystal.content 'ANY'> +]]> +<!ENTITY % crystal.content '(string | float | integer)*'> +<!ELEMENT crystal %crystal.content;> +<!ATTLIST crystal + %tit_id_conv_dict; +> + +<!-- ======================================================= --> +<![ %fullCML; [ +<!ELEMENT sequence ANY> +<!ATTLIST sequence + %tit_id_conv_dict; +> +]]> + +<!-- ======================================================= --> +<![ %fullCML; [ +<!ELEMENT feature ANY> +<!ATTLIST feature + %tit_id_conv_dict; +> +]]> + diff --git a/java/joelib2/io/types/cml/elements/ArrayCML.class b/java/joelib2/io/types/cml/elements/ArrayCML.class Binary files differnew file mode 100644 index 0000000..3daf3ae --- /dev/null +++ b/java/joelib2/io/types/cml/elements/ArrayCML.class diff --git a/java/joelib2/io/types/cml/elements/ElementCML.class b/java/joelib2/io/types/cml/elements/ElementCML.class Binary files differnew file mode 100644 index 0000000..6e298ff --- /dev/null +++ b/java/joelib2/io/types/cml/elements/ElementCML.class diff --git a/java/joelib2/io/types/cml/elements/Elements.class b/java/joelib2/io/types/cml/elements/Elements.class Binary files differnew file mode 100644 index 0000000..d9eb6fe --- /dev/null +++ b/java/joelib2/io/types/cml/elements/Elements.class diff --git a/java/joelib2/io/types/cml/elements/MatrixCML.class b/java/joelib2/io/types/cml/elements/MatrixCML.class Binary files differnew file mode 100644 index 0000000..13cfcb2 --- /dev/null +++ b/java/joelib2/io/types/cml/elements/MatrixCML.class diff --git a/java/joelib2/io/types/cml/elements/ScalarCML.class b/java/joelib2/io/types/cml/elements/ScalarCML.class Binary files differnew file mode 100644 index 0000000..b1165a8 --- /dev/null +++ b/java/joelib2/io/types/cml/elements/ScalarCML.class |