org.basex.build.mediovis
Class MAB2Parser

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.build.Parser
          extended by org.basex.build.mediovis.MAB2Parser

public final class MAB2Parser
extends Parser

This class parses MAB2 data and creates a hierarchical representation.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.build.Parser
doc, io, prop
 
Constructor Summary
MAB2Parser(IO fn, Prop pr)
          Constructor.
 
Method Summary
 void parse(Builder b)
          Parses all nodes and sends events to the specified builder.
 
Methods inherited from class org.basex.build.Parser
emptyParser, xmlParser
 
Methods inherited from class org.basex.core.Progress
abort, checkStop, det, detail, prog, progress, progress, stop, tit, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MAB2Parser

public MAB2Parser(IO fn,
                  Prop pr)
Constructor.

Parameters:
fn - filename of the XML document
pr - database properties
Method Detail

parse

public void parse(Builder b)
           throws IOException
Description copied from class: Parser
Parses all nodes and sends events to the specified builder.

Specified by:
parse in class Parser
Parameters:
b - database builder
Throws:
IOException - I/O exception