org.mmbase.util
Class XMLContextDepthReader

java.lang.Object
  extended byorg.mmbase.util.XMLContextDepthReader

public class XMLContextDepthReader
extends Object

Reads a contextdepth type of application export configuration file. Such a file conatins paramters for the ContextDepth appliaction export. Parameters exits of a start node, and a maximum depth to which to collect nodes for export. The start node is identified either an alias or a combination of buildername and where clause. This class can be used to easily retrive these parameters.

Version:
$Id: XMLContextDepthReader.java,v 1.9 2006/01/06 17:59:28 michiel Exp $
Author:
Daniel Ockeloen
Warning: Will be renamed to:
ContextDepthReader
Warning: Will be moved to:
org.mmbase.util.xml
Class for Application :
Applications
Warning: Contains Duplicate Code (present in other classes)
extend from org.mmbase.util.xml.DocumentReader

Constructor Summary
XMLContextDepthReader(String filename)
          Creates the Context Depth Reader
 
Method Summary
 int getDepth()
          Retrieves the depth to which to serach.
 String getStartAlias()
          Retrieves the content of the alias attribute of the startnode.
 String getStartBuilder()
          Retrieves the content of the buidler attribute of the startnode.
 String getStartWhere()
          Retrieves the content of the where attribute of the startnode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLContextDepthReader

public XMLContextDepthReader(String filename)
Creates the Context Depth Reader

Method Detail

getDepth

public int getDepth()
Retrieves the depth to which to serach.


getStartBuilder

public String getStartBuilder()
Retrieves the content of the buidler attribute of the startnode.


getStartAlias

public String getStartAlias()
Retrieves the content of the alias attribute of the startnode.


getStartWhere

public String getStartWhere()
Retrieves the content of the where attribute of the startnode.



MMBase build 1.8.1.20060716