org.mmbase.util
Class XMLContextDepthReader

java.lang.Object
  |
  +--org.mmbase.util.XMLContextDepthReader

public class XMLContextDepthReader
extends java.lang.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:
19 Apr 2001
Author:
Daniel Ockeloen

Constructor Summary
XMLContextDepthReader(java.lang.String filename)
          Creates the Context Depth Reader
 
Method Summary
 int getDepth()
          Retrieves the depth to which to serach.
 java.lang.String getStartAlias()
          Retrieves the content of the alias attribute of the startnode.
 java.lang.String getStartBuilder()
          Retrieves the content of the buidler attribute of the startnode.
 java.lang.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(java.lang.String filename)
Creates the Context Depth Reader
Method Detail

getDepth

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

getStartBuilder

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

getStartAlias

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

getStartWhere

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


MMBase 2002