File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Implementing Annotation Question 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 » Java » Beginning Java
Bookmark "Implementing Annotation Question" Watch "Implementing Annotation Question" New topic
Author

Implementing Annotation Question

Tom Hill
Ranch Hand

Joined: Aug 24, 2003
Posts: 115
I have a question about the purpose of one of the features of Annotations.
If I have an annotation and create a class which implements this annotation what do I get from my class?

If I create an annotation such as:



What does it mean, or what is the purpose of:



I can't find any examples of why you might want to do this or even why its valid. I'm thinking this class could be created and cast as a MyAnnotation, perhaps to replace an existing annotation or add another annotation to an Element.

Any insight would be great! Cheers guys


Tom
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing Annotation Question