Home | History | Annotate | Download | only in packet

Lines Matching defs:appendTag

721             appendTag("vCard", "xmlns", "vcard-temp", hasContent(), new ContentBuilder() {
751 appendTag("PHOTO", true, new ContentBuilder() {
753 appendTag("BINVAL", photoBinval); // No need to escape photoBinval, as it's already Base64 encoded
754 appendTag("TYPE", StringUtils.escapeForXML(photoMimeType));
760 appendTag("EMAIL", true, new ContentBuilder() {
765 appendTag("USERID", StringUtils.escapeForXML(email));
775 appendTag("TEL", true, new ContentBuilder() {
779 appendTag("NUMBER", StringUtils.escapeForXML(entry.getValue()));
787 appendTag("ADR", true, new ContentBuilder() {
794 appendTag(entry.getKey(), StringUtils.escapeForXML(entry.getValue()));
809 appendTag(entry.getKey().toString(),
816 appendTag(entry.getKey().toString(),entry.getValue());
822 appendTag("ORG", true, new ContentBuilder() {
824 appendTag("ORGNAME", StringUtils.escapeForXML(organization));
825 appendTag("ORGUNIT", StringUtils.escapeForXML(organizationUnit));
832 appendTag("N", true, new ContentBuilder() {
834 appendTag("FAMILY", StringUtils.escapeForXML(lastName));
835 appendTag("GIVEN", StringUtils.escapeForXML(firstName));
836 appendTag("MIDDLE", StringUtils.escapeForXML(middleName));
841 private void appendTag(String tag, String attr, String attrValue, boolean hasContent,
858 private void appendTag(String tag, boolean hasContent, ContentBuilder builder) {
859 appendTag(tag, null, null, hasContent, builder);
862 private void appendTag(String tag, final String tagText) {
869 appendTag(tag, true, contentBuilder);