XML:DB Lexus

org.xmldb.xupdate.lexus.commands
Class InsertCommand

java.lang.Object
  extended by org.xmldb.xupdate.lexus.commands.CommandObject
      extended by org.xmldb.xupdate.lexus.commands.InsertCommand
Direct Known Subclasses:
AppendCommand, InsertAfterCommand, InsertBeforeCommand

public abstract class InsertCommand
extends CommandObject

Version:
$Id: InsertCommand.java,v 1.1 2004/05/30 11:57:43 per_nyfelt Exp $
Author:
SMB

Constructor Summary
InsertCommand(org.w3c.dom.Node contextNode)
           
 
Method Summary
abstract  org.w3c.dom.Node execute()
           
 boolean executeInstruction()
           
 void submitAttributes(java.util.Hashtable attributes)
           
 void submitCharacters(java.lang.String data)
           
 boolean submitInstruction(int instruction)
           
 
Methods inherited from class org.xmldb.xupdate.lexus.commands.CommandObject
getXPath, reset, selectNodes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertCommand

public InsertCommand(org.w3c.dom.Node contextNode)
              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

submitAttributes

public void submitAttributes(java.util.Hashtable attributes)
Overrides:
submitAttributes in class CommandObject

submitCharacters

public void submitCharacters(java.lang.String data)
Overrides:
submitCharacters in class CommandObject

submitInstruction

public boolean submitInstruction(int instruction)
                          throws java.lang.Exception
Specified by:
submitInstruction in class CommandObject
Throws:
java.lang.Exception

executeInstruction

public boolean executeInstruction()
                           throws java.lang.Exception
Specified by:
executeInstruction in class CommandObject
Throws:
java.lang.Exception

execute

public abstract org.w3c.dom.Node execute()
                                  throws java.lang.Exception
Specified by:
execute in class CommandObject
Throws:
java.lang.Exception

XML:DB Lexus

Copyright (c) 2002 The XML:DB Initiative All rights reserved