Package org.apache.webdav.lib.methods
Class PropertyBodyHelper
java.lang.Object
org.apache.webdav.lib.methods.PropertyBodyHelper
This class manages an array of PropertyNames.
It is used to generate a tag section
in the body of a WebDAV method.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
setPropertyNames
(Collection propertyNames) Property names setter.protected void
wirtePropElement
(XMLPrinter printer) Writes the <D:prop> element to a XMLPrinter.
-
Field Details
-
propertyNames
-
-
Constructor Details
-
PropertyBodyHelper
public PropertyBodyHelper()
-
-
Method Details
-
setPropertyNames
Property names setter. The enumeration may contain strings with or without a namespace prefix but the preferred way is to provide PropertyName objects.- Parameters:
propertyNames
- List of the property names
-
wirtePropElement
Writes the <D:prop> element to a XMLPrinter. The element contains all properties from the propertyNames array. Result is: <D:prop> <D:displayname/> <D:creationdate/> ... </D:prop>
-