nenok.parser
Interface JT_Parser

All Superinterfaces:
Parser
All Known Implementing Classes:
XmlParser

public interface JT_Parser
extends Parser

Parser subinterface that rebuilds jointrees.

Version:
$LastChangedRevision: 555 $
$LastChangedDate: 2008-03-26 14:20:40 +0100 (Mi, 26 Mrz 2008) $
Author:
Marc Pouly

Method Summary
 Node parse(File file, JoinTree.Construction data)
          Rebuilds a jointree which is serialized in the given file.
 
Methods inherited from interface nenok.parser.Parser
accept
 

Method Detail

parse

Node parse(File file,
           JoinTree.Construction data)
           throws ParserException
Rebuilds a jointree which is serialized in the given file.

Parameters:
file - The file containing a serialized jointree.
data - Object that contains all necessary information to build join trees.
Returns:
The root node of the jointree reconstructed from the file content.
Throws:
ParserException - Exceptions that are thrown during the parsing process.