javajavadoc

How can I use "<" and ">" in javadoc without formatting?


If I write <xmlElement> in a javadoc, it does not appear, because tags have special functions on formatting texts.

How can I show this chars in a javadoc?


Solution

  • You can use &lt; for < and &gt; for > .