|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.webdav.model.Propertyupdate
public class Propertyupdate
The propertyupdate
XML element per the WebDAV specification [RFC
4918]
Name: propertyupdate Namespace: DAV: Purpose: Contains a request to alter the properties on a resource. Description: This XML element is a container for the information required to modify the properties on the resource. This XML element is multi-valued. <!ELEMENT propertyupdate (remove | set)+ >
Field Summary | |
---|---|
protected java.util.List<java.lang.Object> |
removeOrSet
|
Constructor Summary | |
---|---|
Propertyupdate()
|
Method Summary | |
---|---|
java.util.List<Prop> |
getPropsToRemove()
Get a list of Prop objects to remove |
java.util.List<Prop> |
getPropsToSet()
Get a list of Prop objects to be set |
java.util.List<java.lang.Object> |
getRemoveOrSet()
Gets the value of the removeOrSet property. |
static void |
marshal(Propertyupdate instance,
java.io.OutputStream os)
Marshal a Propertyupdate object to the provided output stream |
static void |
marshal(Propertyupdate instance,
java.io.Writer writer)
Marshal a Propfind object to the provided writer |
static Propertyupdate |
unmarshal(java.io.InputStream is)
Unmarshal a Propertyupdate object from the provided input stream |
static Propertyupdate |
unmarshal(java.io.Reader reader)
Unmarshal a Propertyupdate object from the provided reader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.Object> removeOrSet
Constructor Detail |
---|
public Propertyupdate()
Method Detail |
---|
public java.util.List<java.lang.Object> getRemoveOrSet()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
set
method for the removeOrSet property.
For example, to add a new item, do as follows:
getRemoveOrSet().add(newItem);
Objects of the following type(s) are allowed in the list Set
Remove
public java.util.List<Prop> getPropsToSet()
public java.util.List<Prop> getPropsToRemove()
public static Propertyupdate unmarshal(java.io.InputStream is) throws java.io.IOException
is
- the input stream
java.io.IOException
public static void marshal(Propertyupdate instance, java.io.OutputStream os) throws java.io.IOException
instance
- the Propertyupdate instance to marshaloutputStreamWriter
- the output stream
java.io.IOException
public static Propertyupdate unmarshal(java.io.Reader reader) throws java.io.IOException
reader
- the input reader
java.io.IOException
public static void marshal(Propertyupdate instance, java.io.Writer writer) throws java.io.IOException
instance
- the Profind instance to marshalwriter
- the output writer
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |