Class xHelmNotationParser

java.lang.Object
org.helm.notation2.tools.xHelmNotationParser

public class xHelmNotationParser
extends Object
Class to parse the XHELM XML format
Author:
maisel
  • Constructor Details

  • Method Details

    • getHELMNotationString

      public static String getHELMNotationString​(org.jdom2.Element rootElement)
      Extracts the HELM string from the root node of the XHELM document
      Parameters:
      rootElement - root element
      Returns:
      the complex notation string
    • getComplexNotationString

      public static String getComplexNotationString​(org.jdom2.Element rootElement)
      Extracts the complex notation string from the root node of the XHELM document
      Parameters:
      rootElement - root element
      Returns:
      the complex notation string
    • getMonomerStore

      public static MonomerStore getMonomerStore​(org.jdom2.Element rootElement) throws MonomerException, IOException
      Generates the monomer store from a given XHELM document
      Parameters:
      rootElement - root element
      Returns:
      a monomer store
      Throws:
      MonomerException - if monomer is not valid
      IOException - IO error