org.apache.webdav.lib.methods

Class PropertyBodyHelper


public class PropertyBodyHelper
extends java.lang.Object

This class manages an array of PropertyNames. It is used to generate a tag section in the body of a WebDAV method.

Field Summary

protected PropertyName[]
propertyNames

Method Summary

protected void
setPropertyNames(Collection propertyNames)
Property names setter.
protected void
wirtePropElement(XMLPrinter printer)
Writes the element to a XMLPrinter.

Field Details

propertyNames

protected PropertyName[] propertyNames

Method Details

setPropertyNames

protected void setPropertyNames(Collection propertyNames)
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

protected void wirtePropElement(XMLPrinter printer)
Writes the element to a XMLPrinter. The element contains all properties from the propertyNames array. Result is: ...