biz.hammurapi.sql.xml
Class CompositeCommand

java.lang.Object
  extended by biz.hammurapi.xml.dom.AbstractDomObject
      extended by biz.hammurapi.sql.xml.CompositeCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
Transaction

public class CompositeCommand
extends AbstractDomObject
implements Command

Version:
$Revision: 1.2 $
Author:
Pavel Vlasov

Constructor Summary
CompositeCommand()
           
 
Method Summary
 void addCommand(Command command)
           
 void configure(org.w3c.dom.Node configNode, Context context)
           
 org.w3c.dom.Document execute(org.w3c.dom.Document document, SQLProcessor processor, Context context)
           
 void execute(org.w3c.dom.Element holder, SQLProcessor processor, Context context)
           
 void log(SQL2XMLException e)
          Override for proper logging
 void toDom(java.lang.Throwable throwable, org.w3c.dom.Element holder)
           
 
Methods inherited from class biz.hammurapi.xml.dom.AbstractDomObject
addElement, addTextElement, getElementText, getElementText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeCommand

public CompositeCommand()
Method Detail

addCommand

public void addCommand(Command command)

execute

public org.w3c.dom.Document execute(org.w3c.dom.Document document,
                                    SQLProcessor processor,
                                    Context context)

log

public void log(SQL2XMLException e)
Override for proper logging

Parameters:
e -

execute

public void execute(org.w3c.dom.Element holder,
                    SQLProcessor processor,
                    Context context)
             throws SQL2XMLException
Specified by:
execute in interface Command
Throws:
SQL2XMLException

configure

public void configure(org.w3c.dom.Node configNode,
                      Context context)
               throws ConfigurationException
Throws:
ConfigurationException

toDom

public void toDom(java.lang.Throwable throwable,
                  org.w3c.dom.Element holder)


Copyright © 2003 Hammurapi Group. All Rights Reserved.