|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.gene.exportgraph.TransformGraph
public final class TransformGraph
A concrete instance of ExportGraph, with instantiated exporters.
| Constructor Summary | |
|---|---|
TransformGraph()
Constructs an empty graph. |
|
TransformGraph(TransformGraph other)
Copy-constructor. |
|
| Method Summary | |
|---|---|
void |
add(TransformationInfo info,
boolean replace)
Registers given transformation info. |
void |
addAll(TransformGraph other,
boolean replace)
Registers infos from the other graph. |
void |
addDirectPipe(String ns,
boolean replace)
States that given namespace is to be transformed as-is to the coordinator. |
Set<String> |
allNamespaces()
Returns unmodifiable set of all transformable namespaces. |
boolean |
contains(String namespace)
Checks if there is transformer for a namespace. |
TransformationInfo |
get(String namespace)
Returns transformer for given namespace. |
boolean |
isEmpty()
Returns true if no transformers are registered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformGraph()
public TransformGraph(TransformGraph other)
other - clone this graph.| Method Detail |
|---|
public void add(TransformationInfo info,
boolean replace)
info - the info to register. Must not be null.replace - register always, replacing old info if necessary.
NullPointerException - if info is null.
public void addDirectPipe(String ns,
boolean replace)
ns - the info to registerreplace - register always, replacing old info if necessary.
public void addAll(TransformGraph other,
boolean replace)
other - register all infos from this graph.replace - register always, replacing old info if necessary.public TransformationInfo get(String namespace)
namespace - the namespace
null if the namespace is
to be passed directly to the coordinator.
IllegalArgumentException - if given namespace was not registered
using one of the add methods.public boolean contains(String namespace)
namespace - a namespace to check
true if there is valid transformer.public boolean isEmpty()
true if no transformers are registered.
true if no transformers are registered.public Set<String> allNamespaces()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||