public class AFPChainXMLConverter extends Object
| Constructor and Description |
|---|
AFPChainXMLConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
printXMLEQRInferPositions(PrettyXMLWriter xml,
AFPChain afpChain,
int bk,
Atom[] ca1,
Atom[] ca2) |
static void |
printXMLHeader(PrettyXMLWriter xml,
AFPChain afpChain) |
static String |
toXML(AFPChain afpChain) |
static String |
toXML(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2)
Convert an afpChain to a simple XML representation
|
static void |
toXML(AFPChain afpChain,
StringWriter swriter,
Atom[] ca1,
Atom[] ca2)
Write the XML representation to a StringWriter
|
public AFPChainXMLConverter()
public static String toXML(AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws IOException
afpChain - IOExceptionpublic static void toXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2) throws IOException
afpChain - swriter - IOExceptionpublic static void printXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2) throws IOException
IOExceptionpublic static String toXML(AFPChain afpChain) throws IOException
IOExceptionpublic static void printXMLHeader(PrettyXMLWriter xml, AFPChain afpChain) throws IOException
IOExceptionCopyright © 2000–2017 BioJava. All rights reserved.