Hi, With respect to my previous post, I found somewhere that... to have custom xml tags, I need to extend XmpArray and implement the toString() method.
I implemented the following.. public class CustomXmpArray extends XmpArray { private static final long serialVersionUID = -4551741336974797330L; public CustomXmpArray() { super("dummy"); } @Override public String toString() { StringBuffer buf = new StringBuffer(""); String s; for (String string : this) { s = string; buf.append(s); } return buf.toString(); } } One problem I am facing here is, I don't need the "type" variable, but XmpArray does not have a no-argument constructor, and so I am forced to being pass a dummy value to super class XmpArray. Why XmpArray doesnot have a no-argument constructor? I am wrong in my implementation? LEGAL NOTICE: Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this e-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please delete this e-mail and inform the sender immediately. LAURUS Infosystems, division of Laurus Labs Private Limited, with its principal place of business at Plot No. 100-101, Export Promotion Industrial Park, Whitefield, Bangalore 560066. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php