java.lang.Object
org.apache.jackrabbit.webdav.property.AbstractDavProperty<String[]>
org.apache.jackrabbit.webdav.property.HrefProperty
All Implemented Interfaces:
DavConstants, DavProperty<String[]>, PropEntry, XmlSerializable

public class HrefProperty extends AbstractDavProperty<String[]>
HrefProperty is an extension to the common DavProperty. The String representation of the property value is always displayed as text inside an extra 'href' element. If the value is a String array each array element is added as text to a separate 'href' element.
See Also:
  • Constructor Details

    • HrefProperty

      public HrefProperty(DavPropertyName name, String value, boolean isInvisibleInAllprop)
      Creates a new WebDAV property with the given DavPropertyName
      Parameters:
      name - the name of the property
      value - the value of the property
      isInvisibleInAllprop - A value of true, defines this property to be invisible in PROPFIND/allprop It will not be returned in a DAV:allprop PROPFIND request.
    • HrefProperty

      public HrefProperty(DavPropertyName name, String[] value, boolean isInvisibleInAllprop)
      Creates a new WebDAV property with the given DavPropertyName
      Parameters:
      name - the name of the property
      value - the value of the property
      isInvisibleInAllprop - A value of true, defines this property to be invisible in PROPFIND/allprop It will not be returned in a DAV:allprop PROPFIND request.
    • HrefProperty

      public HrefProperty(DavProperty<?> prop)
      Create a new HrefProperty from the specified property. Please note, that the property must have a List value object, consisting of href Element entries.
      Parameters:
      prop -
  • Method Details