com.hp.hpl.jena.update
Class UpdateRequest

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.Prologue
      extended by com.hp.hpl.jena.update.UpdateRequest
All Implemented Interfaces:
com.hp.hpl.jena.sparql.util.Printable

public class UpdateRequest
extends com.hp.hpl.jena.sparql.core.Prologue
implements com.hp.hpl.jena.sparql.util.Printable

A single request which may consist of several updates, to be performed in the order added to the request


Constructor Summary
UpdateRequest()
           
UpdateRequest(com.hp.hpl.jena.sparql.modify.op.Update graphUpdate)
           
 
Method Summary
 void addUpdate(com.hp.hpl.jena.sparql.modify.op.Update update)
           
 void exec(GraphStore graphStore)
          Deprecated. @link{UpdateFactory#create(UpdateRequest, GraphStore)}
 void exec(GraphStore graphStore, com.hp.hpl.jena.sparql.engine.binding.Binding binding)
          Deprecated. @link{UpdateFactory#create(UpdateRequest, GraphStore, binding)}
 java.util.List getUpdates()
           
 java.util.Iterator iterator()
           
 void output(com.hp.hpl.jena.sparql.util.IndentedWriter out)
           
 java.lang.String toString()
           
 
Methods inherited from class com.hp.hpl.jena.sparql.core.Prologue
copy, expandPrefixedName, expandQName, explicitlySetBaseURI, getBaseURI, getPrefix, getPrefixMapping, getResolver, setBaseURI, setBaseURI, setPrefix, setPrefixMapping, setResolver, shortForm, sub, sub, sub, usePrologueFrom
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateRequest

public UpdateRequest()

UpdateRequest

public UpdateRequest(com.hp.hpl.jena.sparql.modify.op.Update graphUpdate)
Method Detail

addUpdate

public void addUpdate(com.hp.hpl.jena.sparql.modify.op.Update update)

getUpdates

public java.util.List getUpdates()

exec

public void exec(GraphStore graphStore)
Deprecated. @link{UpdateFactory#create(UpdateRequest, GraphStore)}


exec

public void exec(GraphStore graphStore,
                 com.hp.hpl.jena.sparql.engine.binding.Binding binding)
Deprecated. @link{UpdateFactory#create(UpdateRequest, GraphStore, binding)}

Execute a request, with a given set of variable/value settings. The initial binding applies to all Updates within the request.

Parameters:
graphStore -
binding -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

output

public void output(com.hp.hpl.jena.sparql.util.IndentedWriter out)
Specified by:
output in interface com.hp.hpl.jena.sparql.util.Printable

iterator

public java.util.Iterator iterator()


Copyright © 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP