info.magnolia.nodebuilder
Class NodeBuilder

java.lang.Object
  extended by info.magnolia.nodebuilder.NodeBuilder

public class NodeBuilder
extends java.lang.Object

Entry point for using the node builder API. Also see the NodeBuilderTask and ModuleNodeBuilderTask classes for usage of the node builder API in ModuleVersionHandlers.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Constructor Summary
NodeBuilder(Content root, NodeOperation... childrenOps)
           
NodeBuilder(ErrorHandler errorHandler, Content root, NodeOperation... childrenOps)
           
 
Method Summary
 void exec()
          Execute the operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBuilder

public NodeBuilder(Content root,
                   NodeOperation... childrenOps)

NodeBuilder

public NodeBuilder(ErrorHandler errorHandler,
                   Content root,
                   NodeOperation... childrenOps)
Method Detail

exec

public void exec()
          throws NodeOperationException
Execute the operations.

Throws:
NodeOperationException - if the given ErrorHandler decided to do so !


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.