|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 List<Object> |
removeOrSet
|
| Constructor Summary | |
|---|---|
Propertyupdate()
|
|
| Method Summary | |
|---|---|
List<Prop> |
getPropsToRemove()
Get a list of Prop objects to remove |
List<Prop> |
getPropsToSet()
Get a list of Prop objects to be set |
List<Object> |
getRemoveOrSet()
Gets the value of the removeOrSet property. |
static void |
marshal(Propertyupdate instance,
OutputStream os)
Marshal a Propertyupdate object to the provided output stream |
static void |
marshal(Propertyupdate instance,
Writer writer)
Marshal a Propfind object to the provided writer |
static Propertyupdate |
unmarshal(InputStream is)
Unmarshal a Propertyupdate object from the provided input stream |
static Propertyupdate |
unmarshal(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 List<Object> removeOrSet
| Constructor Detail |
|---|
public Propertyupdate()
| Method Detail |
|---|
public List<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 List<Prop> getPropsToSet()
public List<Prop> getPropsToRemove()
public static Propertyupdate unmarshal(InputStream is)
throws IOException
is - the input stream
IOException
public static void marshal(Propertyupdate instance,
OutputStream os)
throws IOException
instance - the Propertyupdate instance to marshaloutputStreamWriter - the output stream
IOException
public static Propertyupdate unmarshal(Reader reader)
throws IOException
reader - the input reader
IOException
public static void marshal(Propertyupdate instance,
Writer writer)
throws IOException
instance - the Profind instance to marshalwriter - the output writer
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||