|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.webdav.model.Prop
public class Prop
The prop
XML element per the WebDAV specification [RFC 4918]
Name: prop Namespace: DAV: Purpose: Contains properties related to a resource. Description: The prop XML element is a generic container for properties defined on resources. All elements inside a prop XML element MUST define properties related to the resource. No other elements may be used inside of a prop element. <!ELEMENT prop ANY>
Field Summary | |
---|---|
protected java.util.List<org.w3c.dom.Element> |
any
|
protected Creationdate |
creationdate
|
protected Displayname |
displayname
|
protected Getcontentlanguage |
getcontentlanguage
|
protected Getcontentlength |
getcontentlength
|
protected Getcontenttype |
getcontenttype
|
protected Getetag |
getetag
|
protected Getlastmodified |
getlastmodified
|
protected Lockdiscovery |
lockdiscovery
|
protected Resourcetype |
resourcetype
|
protected Supportedlock |
supportedlock
|
Constructor Summary | |
---|---|
Prop()
|
Method Summary | |
---|---|
void |
copyTo(Prop dest)
Performs a shallow copy of all elements in this Prop instance into the dest Prop instance |
java.util.List<org.w3c.dom.Element> |
getAny()
Gets the value of the any property. |
org.w3c.dom.Element |
getAnyByName(javax.xml.namespace.QName name)
Get a proprietary property as an W3C element |
org.w3c.dom.Element |
getAnyByName(java.lang.String namespaceURI,
java.lang.String name)
Get a proprietary property as an W3C element |
Creationdate |
getCreationdate()
Gets the value of the creationdate property. |
Displayname |
getDisplayname()
Gets the value of the displayname property. |
Getcontentlanguage |
getGetcontentlanguage()
Gets the value of the getcontentlanguage property. |
Getcontentlength |
getGetcontentlength()
Gets the value of the getcontentlength property. |
Getcontenttype |
getGetcontenttype()
Gets the value of the getcontenttype property. |
Getetag |
getGetetag()
Gets the value of the getetag property. |
Getlastmodified |
getGetlastmodified()
Gets the value of the getlastmodified property. |
Lockdiscovery |
getLockdiscovery()
Gets the value of the lockdiscovery property. |
Resourcetype |
getResourcetype()
Gets the value of the resourcetype property. |
Supportedlock |
getSupportedlock()
Gets the value of the supportedlock property. |
void |
removeAny(org.w3c.dom.Element element)
Remove the specified proprietary property |
void |
removeAny(javax.xml.namespace.QName name)
Remove the specified proprietary property |
void |
removeAny(java.lang.String namespaceURI,
java.lang.String name)
Remove the specified proprietary property |
void |
setCreationdate(Creationdate value)
Sets the value of the creationdate property. |
void |
setDisplayname(Displayname value)
Sets the value of the displayname property. |
void |
setGetcontentlanguage(Getcontentlanguage value)
Sets the value of the getcontentlanguage property. |
void |
setGetcontentlength(Getcontentlength value)
Sets the value of the getcontentlength property. |
void |
setGetcontenttype(Getcontenttype value)
Sets the value of the getcontenttype property. |
void |
setGetetag(Getetag value)
Sets the value of the getetag property. |
void |
setGetlastmodified(Getlastmodified value)
Sets the value of the getlastmodified property. |
void |
setLockdiscovery(Lockdiscovery value)
Sets the value of the lockdiscovery property. |
org.w3c.dom.Element |
setProperty(javax.xml.namespace.QName name)
Set a proprietary property, and return the Element representing it |
org.w3c.dom.Element |
setProperty(javax.xml.namespace.QName name,
org.w3c.dom.Element content)
Set a proprietary property, and return the Element representing it |
org.w3c.dom.Element |
setProperty(javax.xml.namespace.QName name,
java.lang.String content)
Set a proprietary property, and return the Element representing it |
org.w3c.dom.Element |
setProperty(java.lang.String namespaceURI,
java.lang.String name)
Set a proprietary property, and return the Element representing it |
org.w3c.dom.Element |
setProperty(java.lang.String namespaceURI,
java.lang.String name,
org.w3c.dom.Element child)
Set a proprietary property, and return the Element representing it |
org.w3c.dom.Element |
setProperty(java.lang.String namespaceURI,
java.lang.String name,
java.lang.String content)
Set a proprietary property, and return the Element representing it |
void |
setResourcetype(Resourcetype value)
Sets the value of the resourcetype property. |
void |
setSupportedlock(Supportedlock value)
Sets the value of the supportedlock property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Creationdate creationdate
protected Displayname displayname
protected Getcontentlanguage getcontentlanguage
protected Getcontentlength getcontentlength
protected Getcontenttype getcontenttype
protected Getetag getetag
protected Getlastmodified getlastmodified
protected Lockdiscovery lockdiscovery
protected Resourcetype resourcetype
protected Supportedlock supportedlock
protected java.util.List<org.w3c.dom.Element> any
Constructor Detail |
---|
public Prop()
Method Detail |
---|
public Creationdate getCreationdate()
Creationdate
public void setCreationdate(Creationdate value)
value
- allowed object is Creationdate
public Displayname getDisplayname()
Displayname
public void setDisplayname(Displayname value)
value
- allowed object is Displayname
public Getcontentlanguage getGetcontentlanguage()
Getcontentlanguage
public void setGetcontentlanguage(Getcontentlanguage value)
value
- allowed object is Getcontentlanguage
public Getcontentlength getGetcontentlength()
Getcontentlength
public void setGetcontentlength(Getcontentlength value)
value
- allowed object is Getcontentlength
public Getcontenttype getGetcontenttype()
Getcontenttype
public void setGetcontenttype(Getcontenttype value)
value
- allowed object is Getcontenttype
public Getetag getGetetag()
Getetag
public void setGetetag(Getetag value)
value
- allowed object is Getetag
public Getlastmodified getGetlastmodified()
Getlastmodified
public void setGetlastmodified(Getlastmodified value)
value
- allowed object is Getlastmodified
public Lockdiscovery getLockdiscovery()
Lockdiscovery
public void setLockdiscovery(Lockdiscovery value)
value
- allowed object is Lockdiscovery
public Resourcetype getResourcetype()
Resourcetype
public void setResourcetype(Resourcetype value)
value
- allowed object is Resourcetype
public Supportedlock getSupportedlock()
Supportedlock
public void setSupportedlock(Supportedlock value)
value
- allowed object is Supportedlock
public java.util.List<org.w3c.dom.Element> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Element
public org.w3c.dom.Element getAnyByName(javax.xml.namespace.QName name)
name
- the name of the property to get
public org.w3c.dom.Element getAnyByName(java.lang.String namespaceURI, java.lang.String name)
namespaceURI
- the namespace of the property to getname
- the name of the property to get
public void removeAny(java.lang.String namespaceURI, java.lang.String name)
namespaceURI
- the namespace of the property to removename
- name of the property to removepublic void removeAny(javax.xml.namespace.QName name)
name
- name of the property to removepublic void removeAny(org.w3c.dom.Element element)
element
- the Element instance to removepublic org.w3c.dom.Element setProperty(javax.xml.namespace.QName name)
name
- the name of the property
public org.w3c.dom.Element setProperty(javax.xml.namespace.QName name, java.lang.String content)
name
- the name of the propertycontent
- the text content of the property
public org.w3c.dom.Element setProperty(javax.xml.namespace.QName name, org.w3c.dom.Element content)
name
- the name of the propertycontent
- the text content of the property
public org.w3c.dom.Element setProperty(java.lang.String namespaceURI, java.lang.String name)
namespaceURI
- the namespace of the propertyname
- the name of the property
public org.w3c.dom.Element setProperty(java.lang.String namespaceURI, java.lang.String name, java.lang.String content)
namespaceURI
- the namespace of the propertyname
- the name of the propertycontent
- the text content of the property
public org.w3c.dom.Element setProperty(java.lang.String namespaceURI, java.lang.String name, org.w3c.dom.Element child)
namespaceURI
- the namespace of the propertyname
- the name of the propertychild
- the child element of the property element
public void copyTo(Prop dest)
dest
- the Prop instance to cop this instance into
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |