sk.uniba.euromath.gene
Class CoordinatorInputKey

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

public final class CoordinatorInputKey
extends Object

Identifies uniquely the coordinator input pipe from an exporter. The identifier is consistent: it does not change upon multiple export processes performed on same TransformationInfo instance.

Immutable.

Author:
Martin Vysny

Field Summary
 TransformationInfo info
          The transformation node, referencing an exporter.
 String targetNamespace
          Namespace of a nametree, that the exporter emits directly to the coordinator.
 
Constructor Summary
CoordinatorInputKey(TransformationInfo info, String targetNamespace)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 ResultEnum getResultType()
          Returns the result document type that this pipe produces.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

info

public final TransformationInfo info
The transformation node, referencing an exporter. If null then the pipe leads directly from source document, not from an exporter.


targetNamespace

public final String targetNamespace
Namespace of a nametree, that the exporter emits directly to the coordinator.

Constructor Detail

CoordinatorInputKey

public CoordinatorInputKey(TransformationInfo info,
                           String targetNamespace)
Constructor.

Parameters:
info - The transformation node, referencing an exporter. If null then the pipe leads directly from source document, and not from an exporter.
targetNamespace - Namespace of a nametree, that the exporter emits directly to the coordinator.
Method Detail

getResultType

public ResultEnum getResultType()
Returns the result document type that this pipe produces.

Returns:
the result document type. If the pipe is connected directly to source document (info is null) then DOM is returned.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


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