This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes annotation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "annotation?" Watch "annotation?" New topic


ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
From the SG:

An annotation object is a wrapper for a text attribute value if the attribute has
annotation characteristics. One characteristic is the text range to which the attribute
is applied; this is critical to the semantics of the range. Wrapping the attribute value
into an annotation object guarantees that adjacent text does not get merged, even if
the attribute values are equal, and it indicates to text containers that the attribute
should be discarded if the underlying text is modified.

Can anyone explain me the above paragraph?
jQuery in Action, 2nd edition
subject: annotation?