org.apache.muse.ws.resource.properties.set.impl
Class InsertRequest

java.lang.Object
  extended by org.apache.muse.ws.resource.properties.set.impl.AbstractSetRequestComponent
      extended by org.apache.muse.ws.resource.properties.set.impl.InsertRequest
All Implemented Interfaces:
XmlSerializable, SetRequestComponent

public class InsertRequest
extends AbstractSetRequestComponent

InsertRequest is a serializer/deserializer for the WS-ResourceProperties Insert operation, which is part of SetResourceProperties.

Author:
Dan Jemiolo (danj)

Field Summary
static String OPERATION
           
 
Constructor Summary
InsertRequest(Element request)
           
InsertRequest(QName qname)
           
InsertRequest(QName qname, int numberOfCopies)
           
InsertRequest(QName qname, Object value)
           
InsertRequest(QName qname, Object[] values)
           
 
Method Summary
 void execute(ResourcePropertyCollection properties)
          Performs the set command on the given WSRP document.
 String toString()
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document doc)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class org.apache.muse.ws.resource.properties.set.impl.AbstractSetRequestComponent
getNumberOfValues, getPropertyName, getSecurityToken, getValue, getValues, setPropertyName, setSecurityToken, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OPERATION

public static final String OPERATION
See Also:
Constant Field Values
Constructor Detail

InsertRequest

public InsertRequest(Element request)
              throws BaseFault
Throws:
BaseFault

InsertRequest

public InsertRequest(QName qname)

InsertRequest

public InsertRequest(QName qname,
                     int numberOfCopies)

InsertRequest

public InsertRequest(QName qname,
                     Object value)

InsertRequest

public InsertRequest(QName qname,
                     Object[] values)
Method Detail

execute

public void execute(ResourcePropertyCollection properties)
             throws BaseFault
Description copied from interface: SetRequestComponent
Performs the set command on the given WSRP document. There may be one or more changes made to the document as the result of this command.

Throws:
BaseFault

toString

public String toString()
Overrides:
toString in class Object

toXML

public Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Returns:
An XML representation of this object.

toXML

public Element toXML(Document doc)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Parameters:
doc - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.