Class AFPChainXMLConverter
java.lang.Object
org.biojava.nbio.structure.align.xml.AFPChainXMLConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprintXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2) static voidprintXMLHeader(PrettyXMLWriter xml, AFPChain afpChain) static Stringstatic voidtoXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2) Write the XML representation to a StringWriterstatic StringConvert 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
-