Class AFPChainXMLConverter
java.lang.Object
org.biojava.nbio.structure.align.xml.AFPChainXMLConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
printXMLEQRInferPositions
(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2) static void
printXMLHeader
(PrettyXMLWriter xml, AFPChain afpChain) static String
static void
toXML
(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2) Write the XML representation to a StringWriterstatic String
Convert an afpChain to a simple XML representation
-
Constructor Details
-
AFPChainXMLConverter
public AFPChainXMLConverter()
-
-
Method Details
-
toXML
Convert an afpChain to a simple XML representation- Parameters:
afpChain
-- Returns:
- XML representation of the AFPCHain
- Throws:
IOException
-
toXML
public static void toXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2) throws IOException Write the XML representation to a StringWriter- Parameters:
afpChain
-swriter
-- Throws:
IOException
-
printXMLEQRInferPositions
public static void printXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2) throws IOException - Throws:
IOException
-
toXML
- Throws:
IOException
-
printXMLHeader
- Throws:
IOException
-