org.biojava3.protmod.io
Class ComponentXMLConverter

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

public class ComponentXMLConverter
extends Object


Constructor Summary
ComponentXMLConverter()
           
 
Method Summary
static Component fromXML(Node componentN)
           
static Component fromXML(String xml)
           
static 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 String toXML(Component component)
                    throws IOException
Throws:
IOException

toXML

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

fromXML

public static Component fromXML(String xml)

fromXML

public static Component fromXML(Node componentN)