View Javadoc

1   /*
2    * Copyright 2005 by Mark Vollmann Hamburg, Germany. All rights reserved.
3    * 
4    * mail to mark.vollmann@web.de
5    * 
6    * Created on 05.07.2005
7    */
8   package de.keepondreaming.xml.annotations;
9   
10  import java.lang.annotation.Documented;
11  import java.lang.annotation.Retention;
12  import java.lang.annotation.RetentionPolicy;
13  import java.lang.annotation.ElementType;
14  import java.lang.annotation.Target;
15  
16  /***
17   * Fetches the name of the setter attribute used to set the
18   * contents of a tag retreived via 
19   * {@link org.xml.sax.helpers.DefaultHandler#characters(char[], int, int)}
20   * 
21   * $Author: wintermond $
22   * $Date: 2005/07/10 18:34:30 $
23   * $Log: ContentAttribute.java,v $
24   * Revision 1.2  2005/07/10 18:34:30  wintermond
25   * javadoc
26   *
27   */
28  @Documented
29  @Target(value={ElementType.TYPE})
30  @Retention(RetentionPolicy.RUNTIME)
31  public @interface ContentAttribute
32  {
33      public String contentMethod();
34  }