org.apache.webdav.lib.methods
Class PropertyBodyHelper

java.lang.Object
  extended byorg.apache.webdav.lib.methods.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
           
 
Constructor Summary
PropertyBodyHelper()
           
 
Method Summary
protected  void setPropertyNames(java.util.Collection propertyNames)
          Property names setter.
protected  void wirtePropElement(XMLPrinter printer)
          Writes the element to a XMLPrinter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyNames

protected PropertyName[] propertyNames
Constructor Detail

PropertyBodyHelper

public PropertyBodyHelper()
Method Detail

setPropertyNames

protected void setPropertyNames(java.util.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: ...