Class AFPChainXMLConverter
- java.lang.Object
 - 
- org.biojava.nbio.structure.align.xml.AFPChainXMLConverter
 
 
- 
public class AFPChainXMLConverter extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description AFPChainXMLConverter() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprintXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2)static voidprintXMLHeader(PrettyXMLWriter xml, AFPChain afpChain)static StringtoXML(AFPChain afpChain)static voidtoXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2)Write the XML representation to a StringWriterstatic StringtoXML(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Convert an afpChain to a simple XML representation 
 - 
 
- 
- 
Constructor Detail
- 
AFPChainXMLConverter
public AFPChainXMLConverter()
 
 - 
 
- 
Method Detail
- 
toXML
public static String toXML(AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws IOException
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
public static String toXML(AFPChain afpChain) throws IOException
- Throws:
 IOException
 
- 
printXMLHeader
public static void printXMLHeader(PrettyXMLWriter xml, AFPChain afpChain) throws IOException
- Throws:
 IOException
 
 - 
 
 -