|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.gpf.graph.GraphIO
public class GraphIO
The GraphIO class contains methods for the
serialization/deserialization of XML-based Graph definitions.
| Method Summary | |
|---|---|
static Graph |
read(Reader reader)
Deserializes a graph from an XML Reader. |
static Graph |
read(Reader reader,
Map<String,String> variables)
Deserializes a Graph from a XML Reader using a mapping
for the substitution of template variables inside the XML-based
Graph definition. |
static void |
write(Graph graph,
Writer writer)
Serializes the given graph into XML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void write(Graph graph,
Writer writer)
graph into XML
graph - the graph to write into XMLwriter - the writer to use for serialization.
public static Graph read(Reader reader)
throws GraphException
graph from an XML Reader.
reader - the readerto use for deserialization
graph
GraphException - if an error occurs during reading
public static Graph read(Reader reader,
Map<String,String> variables)
throws GraphException
Graph from a XML Reader using a mapping
for the substitution of template variables inside the XML-based
Graph definition.
reader - the XML readervariables - a mapping from template variable names to their string values.
graph
GraphException - if an error occurs during reading
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||