sk.uniba.euromath.gene.controller
Interface IMarkResolver


interface IMarkResolver

Resolves emp:mark elements when required.

Author:
Martin Vysny

Method Summary
 boolean knows(String id)
          Checks whether the resolver knows (and is able to provide contents for) given id.
 Source resolve(String id, NamespacePath path)
          Resolves given ID and returns node produced.
 

Method Detail

knows

boolean knows(String id)
Checks whether the resolver knows (and is able to provide contents for) given id.

Parameters:
id - the emp:id attribute of emp:mark element.
Returns:
true if the resolver can resolve this id, false otherwise.

resolve

Source resolve(String id,
               NamespacePath path)
               throws ExportException,
                      IOException
Resolves given ID and returns node produced.

Parameters:
id - the identifier of the fragment.
path - the namespace path to the parent product.
Returns:
the fragment. May return null - in this case the emp:mark node is simply deleted.
Throws:
ExportException - if an export-related error occurs.
IOException - if i/o error occurs.


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