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
- IOException
public static void toXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2) throws IOException
afpChain
- swriter
- IOException
public static void printXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2) throws IOException
IOException
public static String toXML(AFPChain afpChain) throws IOException
IOException
public static void printXMLHeader(PrettyXMLWriter xml, AFPChain afpChain) throws IOException
IOException
Copyright © 2000–2019 BioJava. All rights reserved.