|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.ws.resource.properties.set.impl.SimpleSetOperationFactory
public class SimpleSetOperationFactory
SimpleSetOperationFactory provides an API for constructing and parsing WS-RP SetResourceProperties requests, including the Insert, Delete, and Update operations. There are convenience methods for creating outbound requests with each operation type as well as a factory method for parsing inbound XML into executables.
Constructor Summary | |
---|---|
SimpleSetOperationFactory()
|
Method Summary | |
---|---|
SetRequest |
createDelete(QName qname)
This is a convenience method that creates a new SetRequest object an populates it with a DeleteRequest for the given property. |
SetRequest |
createInsert(QName qname,
Object[] values)
This is a convenience method that creates a new SetRequest object an populates it with a InsertRequest for the given property. |
SetRequest |
createSet(Element request)
Parses the given XML fragment according to the WS-RP spec for SetResourceProperties requests. |
SetRequest |
createUpdate(QName qname,
Object[] values)
This is a convenience method that creates a new SetRequest object an populates it with a UpdateRequest for the given property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSetOperationFactory()
Method Detail |
---|
public SetRequest createDelete(QName qname)
SetOperationFactory
createDelete
in interface SetOperationFactory
qname
- The name of the property to delete.public SetRequest createInsert(QName qname, Object[] values)
SetOperationFactory
createInsert
in interface SetOperationFactory
qname
- The name of the property to insert.values
- The initial values for each instance of the property. This
array should not be null, nor empty.public SetRequest createSet(Element request) throws BaseFault
SetOperationFactory
createSet
in interface SetOperationFactory
request
- An XML fragment containing a SetResourceProperties request.
BaseFault
- public SetRequest createUpdate(QName qname, Object[] values)
SetOperationFactory
createUpdate
in interface SetOperationFactory
qname
- The name of the property to update.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |