/** * Creates a new <code>DavPropertyName</code> with the given local name * and the default WebDAV {@link DavConstants#NAMESPACE namespace}. * * @param name The local name of the new property name * * @return The WebDAV property name */ public synchronized static DavPropertyName create(String name) { return create(name, NAMESPACE); }
/** * Creates a new <code>DavPropertyName</code> with the given local name * and the default WebDAV {@link DavConstants#NAMESPACE namespace}. * * @param name The local name of the new property name * * @return The WebDAV property name */ public synchronized static DavPropertyName create(String name) { return create(name, NAMESPACE); }
/** * Creates a new <code>DavPropertyName</code> with the given local name * and the default WebDAV {@link DavConstants#NAMESPACE namespace}. * * @param name The local name of the new property name * * @return The WebDAV property name */ public synchronized static DavPropertyName create(String name) { return create(name, NAMESPACE); }
/** * Creates a new WebDAV property with the given namespace, name and value. * If the property is intended to be protected the isProtected flag must * be set to true. * * @param name the name of the property * @param value the value of the property * @param namespace the namespace of the property * @param isInvisibleInAllprop A value of true, defines this property to be protected. * It will not be returned in a {@link org.apache.jackrabbit.webdav.DavConstants#PROPFIND_ALL_PROP DAV:allprop} * PROPFIND request and cannot be set/removed with a PROPPATCH request. */ public DefaultDavProperty(String name, T value, Namespace namespace, boolean isInvisibleInAllprop) { super(DavPropertyName.create(name, namespace), isInvisibleInAllprop); this.value = value; }
/** * Creates a DavPropertyName from the given parameters and add it to this set. * * @param localName * @param namespace * @return <tt>true</tt> if the set did not already contain the specified * property name. */ public boolean add(String localName, Namespace namespace) { return set.add(DavPropertyName.create(localName, namespace)); }
/** * Creates a DavPropertyName from the given parameters and add it to this set. * * @param localName * @param namespace * @return <tt>true</tt> if the set did not already contain the specified * property name. */ public boolean add(String localName, Namespace namespace) { return set.add(DavPropertyName.create(localName, namespace)); }
/** * Retrieves the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty<?> get(String name) { return get(DavPropertyName.create(name)); }
/** * Removes the property with the specified <code>name</code> and * <code>namespace</code> from this set. * * @param name The name of the property to remove * @param namespace The namespace of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty<?> remove(String name, Namespace namespace) { return remove(DavPropertyName.create(name, namespace)); }
/** * Retrieves the property with the specified <code>name</code> and * <code>namespace</code>. * * @param name The name of the property to retrieve * @param namespace The namespace of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty<?> get(String name, Namespace namespace) { return get(DavPropertyName.create(name, namespace)); }
/** * Removes the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty<?> remove(String name) { return remove(DavPropertyName.create(name)); }
/** * Removes the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty<?> remove(String name) { return remove(DavPropertyName.create(name)); }
/** * Removes the property with the specified <code>name</code> and * <code>namespace</code> from this set. * * @param name The name of the property to remove * @param namespace The namespace of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty<?> remove(String name, Namespace namespace) { return remove(DavPropertyName.create(name, namespace)); }
/** * Retrieves the property with the specified <code>name</code> and * <code>namespace</code>. * * @param name The name of the property to retrieve * @param namespace The namespace of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty<?> get(String name, Namespace namespace) { return get(DavPropertyName.create(name, namespace)); }
/** * Retrieves the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty<?> get(String name) { return get(DavPropertyName.create(name)); }
/** * Retrieves the property with the specified <code>name</code> and * <code>namespace</code>. * * @param name The name of the property to retrieve * @param namespace The namespace of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty get(String name, Namespace namespace) { return get(DavPropertyName.create(name, namespace)); }
/** * Retrieves the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to retrieve * * @return The desired property or <code>null</code> */ public DavProperty get(String name) { return get(DavPropertyName.create(name)); }
/** * Removes the property with the specified <code>name</code> and the * default WebDAV {@link org.apache.jackrabbit.webdav.DavConstants#NAMESPACE namespace}. * * @param name The name of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty remove(String name) { return remove(DavPropertyName.create(name)); }
/** * Removes the property with the specified <code>name</code> and * <code>namespace</code> from this set. * * @param name The name of the property to remove * @param namespace The namespace of the property to remove * * @return The removed property or <code>null</code> */ public DavProperty remove(String name, Namespace namespace) { return remove(DavPropertyName.create(name, namespace)); }