Class MultipleAlignmentXMLConverter


  • public class MultipleAlignmentXMLConverter
    extends java.lang.Object
    Helper methods to convert all the hierarchy levels of a MultipleAlignment into an XML format.

    To convert a MultipleAlignment to an XML String use the MultipleAlignmentWriter.toXML(MultipleAlignmentEnsemble) method.

    Since:
    4.1.1
    Author:
    Aleix Lafita
    • Constructor Detail

      • MultipleAlignmentXMLConverter

        public MultipleAlignmentXMLConverter()
    • Method Detail

      • printXMLalignment

        public static void printXMLalignment​(PrettyXMLWriter xml,
                                             MultipleAlignment msa)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • printXMLblockSet

        public static void printXMLblockSet​(PrettyXMLWriter xml,
                                            BlockSet bs)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • printXMLblock

        public static void printXMLblock​(PrettyXMLWriter xml,
                                         Block b)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • printXMLmatrix4d

        public static void printXMLmatrix4d​(PrettyXMLWriter xml,
                                            javax.vecmath.Matrix4d transform)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • printXMLscoresCache

        public static void printXMLscoresCache​(PrettyXMLWriter xml,
                                               ScoresCache cache)
                                        throws java.io.IOException
        Throws:
        java.io.IOException