This function adds a string content part

@param   contentList
The content list with all the created parts
@param   key
The parameter key
@param   value
The parameter value
770493
protected final void addContentPart(List<ContentPart<?>> contentList,String key,String value)
    {
        if((key!=null)&&(value!=null)&&(value.length()>0))
        {
            if(this.shouldAddContentPart(key))
            {
                contentList.add(new ContentPart<String>(key,value,ContentPartType.STRING));
            }
        }
    }
1168269
public void add(String key, List<String> values) {

        if (m_frozen) {
            throw new IllegalStateException("Can not modify frozen CmsFlexBucketConfiguration");
        }
        m_bucketNames.add(key);
        m_bucketPathLists.add(values);
    }
32142
public static void cursorStringToContentValues(Cursor cursor, String field,
            ContentValues values) {
        cursorStringToContentValues(cursor, field, values, field);
    }
427414
public Groundy addStringArrayList(String key, ArrayList<String> value) {
    mArgs.putStringArrayList(key, value);
    return this;
  }
632235
public void addMemberDescription(VariableElement field, Content contentTree) {
        if (!utils.getFullBody(field).isEmpty()) {
            writer.addInlineComment(field, contentTree);
        }
        List<? extends DocTree> tags = utils.getBlockTags(field, DocTree.Kind.SERIAL);
        if (!tags.isEmpty()) {
            writer.addInlineComment(field, tags.get(0), contentTree);
        }
    }
486382
protected final void addAdditionalParameters(List<ContentPart<?>> contentList)
    {
        //add additional parameters
        if(this.additionalParameters!=null)
        {
            Iterator<Entry<String,String>> iterator=this.additionalParameters.entrySet().iterator();
            Entry<String,String> entry=null;
            String key=null;
            String value=null;
            while(iterator.hasNext())
            {
                //get next entry
                entry=iterator.next();
                
                //get next key/value
                key=entry.getKey();
                value=entry.getValue();
                
                if((key!=null)&&(value!=null))
                {
                    this.addContentPart(contentList,key,value);
                }
            }
        }
    }
1268687
public void addSection(String key, String value) {
    this.sections = addToMap(key, value, this.sections);
  }
1220372
public void add(String name, Object value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
62964
@Override
    public void put(String key, String value) throws Exception {
        sb.append('<').append(key).append('>');
        sb.append(XMLUtil.convertToCDATA(value));
        sb.append("</").append(key).append('>');
        
    }
848328
public static void put(String extension, String contentType) {
        if (extension != null && extension.length() != 0
                && contentType != null && contentType.length() != 0) {

            contentTypes.put(extension, contentType);
        }
    }
510721
public Message addContent(String name, String type, String value) {
        content.put(name, new Content(type, value));
        return this;
    }
986237
public MultipartContent part(String fieldName, String contentType, String value) {
        return part(fieldName, null, contentType, value);
    }
377635
private int addContentHash(final PropertyKey key, final int contentHash) {

		final Object value = getProperty(key);
		if (value != null) {

			return contentHash ^ value.hashCode();
		}

		return contentHash;
	}
771253
public static void cursorLongToContentValues(Cursor cursor, String field, ContentValues values)
    {
        cursorLongToContentValues(cursor, field, values, field);
    }
1344010
private Response addContent(String spaceID, String contentID, String storeID) {

        StringBuilder msg = new StringBuilder("adding content(");
        msg.append(spaceID);
        msg.append(", ");
        msg.append(contentID);
        msg.append(", ");
        msg.append(storeID);
        msg.append(")");
        try {
            log.info(msg.toString());

            return doAddContent(spaceID, contentID, storeID);

        } catch (InvalidIdException e) {
            return responseBad(msg.toString(), e, BAD_REQUEST);

        } catch (ResourcePropertiesInvalidException e) {
            return responseBad(msg.toString(), BAD_REQUEST);

        } catch (ResourceNotFoundException e) {
            return responseNotFound(msg.toString(), e, NOT_FOUND);

        } catch (ResourceChecksumException e) {
            return responseBad(msg.toString(), e, CONFLICT);

        } catch (ResourceException e) {
            return responseBad(msg.toString(), e, INTERNAL_SERVER_ERROR);

        } catch (Exception e) {
            return responseBad(msg.toString(), e, INTERNAL_SERVER_ERROR);
        }
    }
895887
protected void addLinksForIndexes(Content contentTree) {
        for (Object ch : elements) {
            String unicode = ch.toString();
            contentTree.addContent(
                    getHyperLink(getNameForIndex(unicode),
                            new StringContent(unicode)));
            contentTree.addContent(getSpace());
        }
    }
72869
public TaskResult addParcelableArrayList(String key, ArrayList<? extends Parcelable> value) {
    mBundle.putParcelableArrayList(key, value);
    return this;
  }