Package org.helm.notation2.tools
Class xHelmNotationExporter
java.lang.Object
org.helm.notation2.tools.xHelmNotationExporter
public final class xHelmNotationExporter extends Object
xHELMNotationExporter
- Author:
- hecht
-
Field Summary
Fields Modifier and Type Field Description static StringHELM_NOTATION_ELEMENTstatic StringMONOMER_ELEMENTstatic StringMONOMER_LIST_ELEMENTstatic StringXHELM_ELEMENT -
Method Summary
Modifier and Type Method Description static StringgetXHELM(org.helm.notation2.parser.notation.HELM2Notation helm2notation)method to get xhelm for the helm notation, only if it was possible to convert the helm in the old formatstatic StringgetXHELM2(org.helm.notation2.parser.notation.HELM2Notation helm2notation)method to get xhelm for the helm2 notation with the new functionality
-
Field Details
-
XHELM_ELEMENT
- See Also:
- Constant Field Values
-
MONOMER_LIST_ELEMENT
- See Also:
- Constant Field Values
-
MONOMER_ELEMENT
- See Also:
- Constant Field Values
-
HELM_NOTATION_ELEMENT
- See Also:
- Constant Field Values
-
-
Method Details
-
getXHELM2
public static String getXHELM2(org.helm.notation2.parser.notation.HELM2Notation helm2notation) throws MonomerException, IOException, org.jdom2.JDOMException, ChemistryExceptionmethod to get xhelm for the helm2 notation with the new functionality- Parameters:
helm2notation- , HELM2Notation object- Returns:
- xhelm
- Throws:
MonomerException- if monomer is not validorg.jdom2.JDOMException- jdome errorIOException- IO errorChemistryException- if chemistry engine can not be initialized
-
getXHELM
public static String getXHELM(org.helm.notation2.parser.notation.HELM2Notation helm2notation) throws MonomerException, HELM1FormatException, IOException, org.jdom2.JDOMException, NotationException, org.helm.chemtoolkit.CTKException, ValidationException, ChemistryExceptionmethod to get xhelm for the helm notation, only if it was possible to convert the helm in the old format- Parameters:
helm2notation- , HELM2Notation object- Returns:
- xhelm
- Throws:
MonomerException- if monomer is not validHELM1FormatException- if HELM input contains HELM2 featuresorg.jdom2.JDOMException- jdome errorIOException- IO errorNotationException- if notation is not validorg.helm.chemtoolkit.CTKException- general ChemToolKit exception passed to HELMToolKitValidationException- if helm2 notation is not validChemistryException- if the Chemistry Engine can not be initialized
-