sk.uniba.euromath.gene.controller
Class SplittedDomJoiner

java.lang.Object
  extended by sk.uniba.euromath.gene.controller.SplittedDomJoiner

final class SplittedDomJoiner
extends Object

Resolves emp:mark elements and caches results. Able to process DOM results only; all other results are converted to DOM in the following manner:

Results are cached in case when multiple emp:marks with same id occurs.

Author:
Martin Vysny

Constructor Summary
SplittedDomJoiner(IMarkResolver res)
          Constructor.
 
Method Summary
 void resolveMarkElements(Node node, NamespacePath path)
          Finds and resolves all emp:mark elements that is resolver able to provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplittedDomJoiner

public SplittedDomJoiner(IMarkResolver res)
Constructor.

Parameters:
res - resolves the emp:mark elements.
Method Detail

resolveMarkElements

public void resolveMarkElements(Node node,
                                NamespacePath path)
                         throws ExportException,
                                IOException
Finds and resolves all emp:mark elements that is resolver able to provide. It leaves unresolved emp:marks intact.

Parameters:
node - node to modify. Its namespace is already recorded in the namespaces list.
path - namespace path to the parent product. The list may get modified in the process, but will be restored to its former state on procedure end.
Throws:
ExportException - if an export-related error occurs.
IOException - if i/o error occurs.


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