Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      org.apache.muse.ws.resource.properties.set.impl.AbstractSetRequestComponent
          org.apache.muse.ws.resource.properties.set.impl.InsertRequest

All Implemented Interfaces:
  SetRequestComponent, XmlSerializable

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 java.lang.String` | `OPERATION`

Constructor Summary
`InsertRequest(org.w3c.dom.Element request)`
`InsertRequest(QName qname)`
`InsertRequest(QName qname, int numberOfCopies)`
`InsertRequest(QName qname, java.lang.Object value)`
`InsertRequest(QName qname, java.lang.Object[] values)`

Method Summary
`void` | `execute(ResourcePropertyCollection properties)` Performs the set command on the given WSRP document.
`java.lang.String` | `toString()`
`org.w3c.dom.Element` | `toXML()` Converts this object into an XML representation, as defined by its related schema or specification.
`org.w3c.dom.Element` | `toXML(org.w3c.dom.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 java.lang.String OPERATION

See Also:
  Constant Field Values

Constructor Detail

### InsertRequest

    public InsertRequest(org.w3c.dom.Element request)
                  throws BaseFault

### InsertRequest

    public InsertRequest(QName qname)

### InsertRequest

    public InsertRequest(QName qname,
                         int numberOfCopies)

### InsertRequest

    public InsertRequest(QName qname,
                         java.lang.Object value)

### InsertRequest

    public InsertRequest(QName qname,
                         java.lang.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 java.lang.String toString()

### toXML

    public org.w3c.dom.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 org.w3c.dom.Element toXML(org.w3c.dom.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.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD