|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectipworks.DAVProperty
public class DAVProperty
A property that is either sent to or received from the server.
This type defines a property that is used
when the bean sends a property find or patch
request to the server. When FindProperties
is
used, this property will be populated with the properties
returned from the server. When a call is made
to PatchProperties
, the bean will
use the information provided by this type to
tell the server what to do with the property
being specified.
Attr: This field shows the attribute string for the specified DAV property.
Name: This field shows the name of the DAV property sent to or received from the server.
NamespaceURI: This field shows the DAV property namespace. The default URI is "DAV:". This value may be changed if a desired namespace is different from the default namespace.
Operation:
This field shows the operation to perform on a property when calling PatchProperties
.
This is used when the bean sends a property patch request to the server. When a call is made to PatchProperties
, the
bean will use the Operation
to tell the server what to do under the following scheme:
Name
will be set to Value
.
Name
will be removed from its resource.
Status:
This field shows the status of the retrieved DAV property. If the property is successfully retrieved, Status
contains the string "OK". Otherwise, it contains the HTTP status and description provided by the server.
After a call to FindProperties
, the Properties
collection
will contain the name, value and
status of DAV property returned by the server.
The contents of the collection
changes for every matching resource
( ResourceProperties
event). After the call completes, the collection
will contain the values of the last matching resource.
Value: This field shows the value of the DAV property.
Atom
,
Atom.DAVProperty
Field Summary | |
---|---|
static int |
opDelete
|
static int |
opNone
|
static int |
opSet
|
Constructor Summary | |
---|---|
DAVProperty()
|
|
DAVProperty(java.lang.String name)
|
Method Summary | |
---|---|
java.lang.String |
getAttr()
|
java.lang.String |
getName()
|
java.lang.String |
getNamespaceURI()
|
int |
getOperation()
|
java.lang.String |
getStatus()
|
java.lang.String |
getValue()
|
void |
setAttr(java.lang.String value)
|
void |
setName(java.lang.String value)
|
void |
setNamespaceURI(java.lang.String value)
|
void |
setOperation(int value)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int opNone
public static final int opSet
public static final int opDelete
Constructor Detail |
---|
public DAVProperty()
public DAVProperty(java.lang.String name)
Method Detail |
---|
public java.lang.String getAttr()
public void setAttr(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getNamespaceURI()
public void setNamespaceURI(java.lang.String value)
public int getOperation()
public void setOperation(int value)
public java.lang.String getStatus()
public java.lang.String getValue()
public void setValue(java.lang.String value)
|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |