net.dpml.tools.info
Class BuilderDirectiveHelper

java.lang.Object
  extended by net.dpml.tools.info.BuilderDirectiveHelper

public final class BuilderDirectiveHelper
extends Object

Utility class used for construction of a module model from an XML source.

Version:
1.1.3
Author:
Digital Product Meta Library

Method Summary
static BuilderDirective build()
          Creates a builder configuration using the default configuration.
static BuilderDirective build(File source)
          Construct a builder directive from XML source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public static BuilderDirective build(File source)
                              throws IOException
Construct a builder directive from XML source.

Parameters:
source - the XML source file
Returns:
the builder directive
Throws:
IOException - if an IO exception occurs

build

public static BuilderDirective build()
                              throws Exception
Creates a builder configuration using the default configuration.

Returns:
the builder directive
Throws:
Exception - if an error occurs