org.basex.build.xml
Class DirParser

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.build.Parser
          extended by org.basex.build.xml.DirParser

public final class DirParser
extends Parser

This class parses the tokens that are delivered by the XMLScanner and sends them to the specified database builder.

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
DirParser(IO f, Prop pr)
          Constructor.
 
Method Summary
 String det()
          Returns short information on this process.
 void parse(Builder b)
          Parses all nodes and sends events to the specified builder.
 double prog()
          Returns progress information.
 String tit()
          Returns short information on this process.
 
Methods inherited from class org.basex.build.Parser
emptyParser, xmlParser
 
Methods inherited from class org.basex.core.Progress
abort, checkStop, detail, progress, progress, stop, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirParser

public DirParser(IO f,
                 Prop pr)
Constructor.

Parameters:
f - file reference
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

tit

public String tit()
Description copied from class: Progress
Returns short information on this process. Can be overwritten to give more detailed information.

Overrides:
tit in class Progress
Returns:
header information

det

public String det()
Description copied from class: Progress
Returns short information on this process.

Overrides:
det in class Progress
Returns:
header information

prog

public double prog()
Description copied from class: Progress
Returns progress information. Can be overwritten to give more detailed information.

Overrides:
prog in class Progress
Returns:
header information