Class MultipleAlignmentXMLConverter
java.lang.Object
org.biojava.nbio.structure.align.xml.MultipleAlignmentXMLConverter
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
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)
-
Constructor Details
-
MultipleAlignmentXMLConverter
public MultipleAlignmentXMLConverter()
-
-
Method Details
-
printXMLensemble
public static void printXMLensemble(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble) throws IOException - Throws:
IOException
-
printXMLalignment
- Throws:
IOException
-
printXMLblockSet
- Throws:
IOException
-
printXMLblock
- Throws:
IOException
-
printXMLmatrix4d
public static void printXMLmatrix4d(PrettyXMLWriter xml, javax.vecmath.Matrix4d transform) throws IOException - Throws:
IOException
-
printXMLscoresCache
- Throws:
IOException
-
printXMLheader
public static void printXMLheader(PrettyXMLWriter xml, MultipleAlignmentEnsemble ensemble) throws IOException - Throws:
IOException
-