org.biojava.bio.structure.align.xml
Class AFPChainXMLConverter
java.lang.Object
org.biojava.bio.structure.align.xml.AFPChainXMLConverter
public class AFPChainXMLConverter
- extends java.lang.Object
|
Method Summary |
static void |
printXMLEQRInferPositions(PrettyXMLWriter xml,
AFPChain afpChain,
int bk,
Atom[] ca1,
Atom[] ca2)
|
static void |
printXMLHeader(PrettyXMLWriter xml,
AFPChain afpChain)
|
static java.lang.String |
toXML(AFPChain afpChain)
|
static java.lang.String |
toXML(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2)
Convert an afpChain to a simple XML representation |
static void |
toXML(AFPChain afpChain,
java.io.StringWriter swriter,
Atom[] ca1,
Atom[] ca2)
Write the XML representation to a StringWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AFPChainXMLConverter
public AFPChainXMLConverter()
toXML
public static java.lang.String toXML(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2)
throws java.io.IOException
- Convert an afpChain to a simple XML representation
- Parameters:
afpChain -
- Returns:
- XML representation of the AFPCHain
- Throws:
java.io.IOException
toXML
public static void toXML(AFPChain afpChain,
java.io.StringWriter swriter,
Atom[] ca1,
Atom[] ca2)
throws java.io.IOException
- Write the XML representation to a StringWriter
- Parameters:
afpChain - swriter -
- Throws:
java.io.IOException
printXMLEQRInferPositions
public static void printXMLEQRInferPositions(PrettyXMLWriter xml,
AFPChain afpChain,
int bk,
Atom[] ca1,
Atom[] ca2)
throws java.io.IOException
- Throws:
java.io.IOException
toXML
public static java.lang.String toXML(AFPChain afpChain)
throws java.io.IOException
- Throws:
java.io.IOException
printXMLHeader
public static void printXMLHeader(PrettyXMLWriter xml,
AFPChain afpChain)
throws java.io.IOException
- Throws:
java.io.IOException