Display XML in a javadocTag(s): Environment
Let's say you have a comment like this
/** * To use this class use this XML * * <xml> * <parameter>foo</parameter> * <value>bar</value> * </xml> * */
With Javadoc 1.5, you can use the {@code ... } command. :
/**
* To use this class use this XML
* <pre>
* {@code
* <xml>
* <parameter>foo</parameter>
* <value>bar</value>
* </xml>
* }
* </pre>
*/
/** * To use this class use this XML * <pre> * < xml> * < parameter>foo< /parameter> * < value>bar< /value> * < /xml> * } * </pre> */
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com