sk.uniba.euromath.gene
Class TransformationInfo

java.lang.Object
  extended by sk.uniba.euromath.gene.TransformationInfo

public final class TransformationInfo
extends Object

Contains information about single transformation.

Author:
Martin Vysny

Field Summary
 IExporter exporter
          Exporter that executes the transformation.
 ResultEnum resultType
          Type of Result object that this exporter produces.
 String sourceNamespaceURI
          The namespace of the source document.
 SourceEnum sourceType
          Type of Source object that this exporter processes.
 Map<String,TransformationInfo> targets
          Information about all exporters that are able to transform result of this transformation.
 
Constructor Summary
TransformationInfo(IExporter exporter, SourceEnum sourceType, String sourceNamespaceURI, ResultEnum resultType, Map<String,TransformationInfo> targets)
          Contains information about single transformation.
 
Method Summary
 TransformationInfo getChildInfo(String namespaceURI)
          Returns information about child exporter.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exporter

public final IExporter exporter
Exporter that executes the transformation.


sourceType

public final SourceEnum sourceType
Type of Source object that this exporter processes.


sourceNamespaceURI

public final String sourceNamespaceURI
The namespace of the source document.


resultType

public final ResultEnum resultType
Type of Result object that this exporter produces.


targets

public final Map<String,TransformationInfo> targets
Information about all exporters that are able to transform result of this transformation. Maps namespace identifier that the transformer shall process.

Constructor Detail

TransformationInfo

public TransformationInfo(IExporter exporter,
                          SourceEnum sourceType,
                          String sourceNamespaceURI,
                          ResultEnum resultType,
                          Map<String,TransformationInfo> targets)
Contains information about single transformation.

Parameters:
exporter - exporter that executes the transformation.
sourceType - type of Source object that this exporter processes.
sourceNamespaceURI - the namespace of the source document.
resultType - type of Target object that the exporter produces.
targets - information about all exporters that are able to transform result of this transformation. Maps namespace identifier that the transformer shall process.
Method Detail

getChildInfo

public TransformationInfo getChildInfo(String namespaceURI)
Returns information about child exporter.

Parameters:
namespaceURI - the namespace that this exporter shall process.
Returns:
information about the transformer.
Throws:
IllegalArgumentException - if the namespace is not amongst registered exporters.

toString

public String toString()
Overrides:
toString in class Object


Copyright 2003-2003-2006 null. All Rights Reserved.