The Artima Developer Community
Sponsored Link

Java Buzz Forum
no more Entities in Javadoc 1.5

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
no more Entities in Javadoc 1.5 Posted: Nov 12, 2004 8:05 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: no more Entities in Javadoc 1.5
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Marc's Java Blog

Advertisement

I recently crawled through the javadoc reference and found that for 1.5, two new tags arrived:

@code and @literal

--- (excerpt from sun reference) ---

{@code text}
Equivalent to {@literal}.

Displays text in code font without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (< and >) instead of the HTML entities (< and >) in doc comments, such as in parameter types (

{@literal text}
Displays text without interpreting the text as HTML markup or nested javadoc tags. This enables you to use regular angle brackets (< and >) instead of the HTML entities (< and >) in doc comments, such as in parameter types (

--- end excerpt ---

Nothing too exciting but we no longer need to escape html chars anymore. This is in fact quite useful because we live in a parametrized world now, and i really dont want to type things like this in the docs:

Collection c = new ArrayList&lt;Article&gt;()

Read: no more Entities in Javadoc 1.5

Topic: Bill Gates to Start Blogging? Previous Topic   Next Topic Topic: Profile of a non-Wal-Mart Customer

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use