/** * Tries to add the specified object to the <code>PropContainer</code> and * returns a boolean indicating whether the content could be added to the * internal set/map. * * @param contentEntry * @return true if the object could be added; false otherwise * @deprecated Use {@link #addContent(PropEntry)} instead. */ public boolean addContent(Object contentEntry) { if (contentEntry instanceof PropEntry) { return addContent((PropEntry) contentEntry); } else { return false; } }
/** * Tries to add the specified object to the <code>PropContainer</code> and * returns a boolean indicating whether the content could be added to the * internal set/map. * * @param contentEntry * @return true if the object could be added; false otherwise * @deprecated Use {@link #addContent(PropEntry)} instead. */ public boolean addContent(Object contentEntry) { if (contentEntry instanceof PropEntry) { return addContent((PropEntry) contentEntry); } else { return false; } }
/** * Adds a property name to this response '200' propstat set. * * @param propertyName the property name to add */ public void add(DavPropertyName propertyName) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, true); status200.addContent(propertyName); }
/** * Adds a property name to this response '200' propstat set. * * @param propertyName the property name to add */ public void add(DavPropertyName propertyName) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, true); status200.addContent(propertyName); }
/** * Adds a property name to this response * * @param propertyName the property name to add * @param status the status of the response set to select */ public void add(DavPropertyName propertyName, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, true); propCont.addContent(propertyName); }
/** * Adds a property to this response '200' propstat set. * * @param property the property to add */ public void add(DavProperty<?> property) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false); status200.addContent(property); }
/** * Adds a property to this response * * @param property the property to add * @param status the status of the response set to select */ public void add(DavProperty<?> property, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, false); propCont.addContent(property); }
/** * Adds a property to this response '200' propstat set. * * @param property the property to add */ public void add(DavProperty<?> property) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false); status200.addContent(property); }
/** * Adds a property to this response '200' propstat set. * * @param property the property to add */ public void add(DavProperty property) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false); status200.addContent(property); }
/** * Adds a property to this response * * @param property the property to add * @param status the status of the response set to select */ public void add(DavProperty property, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, false); propCont.addContent(property); }
/** * Adds a property name to this response * * @param propertyName the property name to add * @param status the status of the response set to select */ public void add(DavPropertyName propertyName, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, true); propCont.addContent(propertyName); }
/** * Adds a property to this response * * @param property the property to add * @param status the status of the response set to select */ public void add(DavProperty<?> property, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, false); propCont.addContent(property); }
/** * Adds a property name to this response * * @param propertyName the property name to add * @param status the status of the response set to select */ public void add(DavPropertyName propertyName, int status) { checkType(TYPE_PROPSTAT); PropContainer propCont = getPropContainer(status, true); propCont.addContent(propertyName); }
/** * Adds a property name to this response '200' propstat set. * * @param propertyName the property name to add */ public void add(DavPropertyName propertyName) { checkType(TYPE_PROPSTAT); PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, true); status200.addContent(propertyName); }
status200.addContent(propName); DavProperty<?> prop = resource.getProperty(propName); if (prop != null) { status200.addContent(prop); missing.remove(propName); && !property.isInvisibleInAllprop()) || wasRequested) { status200.addContent(property); DavProperty<?> prop = resource.getProperty(propName); if (prop != null) { status200.addContent(prop); missing.remove(propName); PropContainer status404 = getPropContainer(DavServletResponse.SC_NOT_FOUND, true); for (DavPropertyName propName : missing) { status404.addContent(propName);
status200.addContent(propName); DavProperty<?> prop = resource.getProperty(propName); if (prop != null) { status200.addContent(prop); missing.remove(propName); && !property.isInvisibleInAllprop()) || wasRequested) { status200.addContent(property); DavProperty<?> prop = resource.getProperty(propName); if (prop != null) { status200.addContent(prop); missing.remove(propName); PropContainer status404 = getPropContainer(DavServletResponse.SC_NOT_FOUND, true); for (DavPropertyName propName : missing) { status404.addContent(propName);
DavPropertyName[] propNames = resource.getPropertyNames(); for (int i = 0; i < propNames.length; i++) { status200.addContent(propNames[i]); DavProperty property = iter.nextProperty(); if ((propFindType == PROPFIND_ALL_PROP && !property.isProtected()) || propNameSet.remove(property.getName())) { status200.addContent(property); while (iter1.hasNext()) { DavPropertyName propName = iter1.nextPropertyName(); status404.addContent(propName);