org.mmbase.util.xml.applicationdata
Class ContextDepthDataReader

java.lang.Object
  extended by org.mmbase.util.xml.applicationdata.ContextDepthDataReader

public class ContextDepthDataReader
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: ContextDepthDataReader.java 34900 2009-05-01 16:29:42Z michiel $
Author:
Daniel Ockeloen
Application:
Applications
Duplicate:
extend from org.mmbase.util.xml.DocumentReader

Field Summary
(package private)  Document document
           
 
Constructor Summary
ContextDepthDataReader(Document doc)
          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
 

Field Detail

document

final Document document
Constructor Detail

ContextDepthDataReader

public ContextDepthDataReader(Document doc)
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 2.0-SNAPSHOT - null