org.biojava3.protmod.io
Class ComponentXMLConverter

java.lang.Object
  extended by org.biojava3.protmod.io.ComponentXMLConverter

public class ComponentXMLConverter
extends java.lang.Object


Constructor Summary
ComponentXMLConverter()
           
 
Method Summary
static Component fromXML(org.w3c.dom.Node componentN)
           
static Component fromXML(java.lang.String xml)
           
static java.lang.String toXML(Component component)
           
static void toXML(Component component, PrettyXMLWriter xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentXMLConverter

public ComponentXMLConverter()
Method Detail

toXML

public static java.lang.String toXML(Component component)
                              throws java.io.IOException
Throws:
java.io.IOException

toXML

public static void toXML(Component component,
                         PrettyXMLWriter xml)
                  throws java.io.IOException
Throws:
java.io.IOException

fromXML

public static Component fromXML(java.lang.String xml)

fromXML

public static Component fromXML(org.w3c.dom.Node componentN)