org.mmbase.util
Class BuilderList

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

public class BuilderList
extends java.lang.Object

Gives an xml-representation of a dir structure with builders

Since:
mmbase 1.6
Version:
$Id: BuilderList.java,v 1.5 2003/03/04 13:28:50 nico Exp $
Author:
Gerard van Enk, Pierre van Rooden

Constructor Summary
BuilderList()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method can be called from an Ant build file and will return the xml with a listing of all the builders
 void write(org.w3c.dom.Document doc, javax.xml.transform.stream.StreamResult result)
          Generates the document and writes it to the result object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuilderList

public BuilderList()
Method Detail

write

public void write(org.w3c.dom.Document doc,
                  javax.xml.transform.stream.StreamResult result)
           throws java.io.IOException,
                  javax.xml.transform.TransformerException
Generates the document and writes it to the result object.

Parameters:
result - the StreamResult object where to store the configuration'
Throws:
java.io.IOException
javax.xml.transform.TransformerException

main

public static void main(java.lang.String[] args)
                 throws java.io.UnsupportedEncodingException
Main method can be called from an Ant build file and will return the xml with a listing of all the builders

Parameters:
args - base dir to start with, it's possible to use more than one dir seperated by ;
Throws:
java.io.UnsupportedEncodingException


MMBase build 1.7.4.20050922