telephone2.addParam(TelParamType.FAX)
.addParam(TelParamType.WORK)
.setParameterTypeStyle(ParameterTypeStyle.PARAMETER_LIST);
vcard.addTel(telephone2);
EmailType email = new EmailType();
email.setEmail("john.doe@ibm.com");
email.addParam(EmailParamType.IBMMAIL)
.addParam(EmailParamType.INTERNET)
.addParam(EmailParamType.PREF)
.setCharset("UTF-8");
vcard.addEmail(email);
vcard.addEmail(new EmailType("billy_bob@gmail.com"));
NoteType note = new NoteType();
note.setNote("THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.");
vcard.addNote(note);