Package org.biojava.nbio.protmod.io
Class ComponentXMLConverter
- java.lang.Object
-
- org.biojava.nbio.protmod.io.ComponentXMLConverter
-
public class ComponentXMLConverter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ComponentXMLConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Component
fromXML(java.lang.String xml)
static Component
fromXML(org.w3c.dom.Node componentN)
static java.lang.String
toXML(Component component)
static void
toXML(Component component, PrettyXMLWriter xml)
-
-
-
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)
-
-