Class MultipleAlignmentXMLConverter
- java.lang.Object
-
- org.biojava.nbio.structure.align.xml.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 Summary
Constructors Constructor Description MultipleAlignmentXMLConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
printXMLalignment(PrettyXMLWriter xml, MultipleAlignment msa)
static void
printXMLblock(PrettyXMLWriter xml, Block b)
static void
printXMLblockSet(PrettyXMLWriter xml, BlockSet bs)
static void
printXMLensemble(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble)
static void
printXMLheader(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble)
static void
printXMLmatrix4d(PrettyXMLWriter xml, javax.vecmath.Matrix4d transform)
static void
printXMLscoresCache(PrettyXMLWriter xml, ScoresCache cache)
-
-
-
Method Detail
-
printXMLensemble
public static void printXMLensemble(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble) throws java.io.IOException
- Throws:
java.io.IOException
-
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
-
printXMLheader
public static void printXMLheader(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble) throws java.io.IOException
- Throws:
java.io.IOException
-
-