Class PropertyBodyHelper

java.lang.Object
org.apache.webdav.lib.methods.PropertyBodyHelper

public class PropertyBodyHelper extends Object
This class manages an array of PropertyNames. It is used to generate a tag section in the body of a WebDAV method.
  • Field Details

  • Constructor Details

    • PropertyBodyHelper

      public PropertyBodyHelper()
  • 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 invalid input: '<'D:prop> element to a XMLPrinter. The element contains all properties from the propertyNames array. Result is: invalid input: '<'D:prop> invalid input: '<'D:displayname/> invalid input: '<'D:creationdate/> ... invalid input: '<'/D:prop>