org.japano.metadata
Class TagType

java.lang.Object
  extended by org.japano.util.Enum
      extended by org.japano.metadata.TagType
All Implemented Interfaces:
java.io.Serializable

public class TagType
extends Enum

Enum Type containing all japano tags and their names in javadoc and annotation implementation.

Version:
$Id: TagType.java,v 1.2 2005/09/27 21:30:51 fforw Exp $ SourceForge.net Logo
Author:
Sven Helmberger ( sven dot helmberger at gmx dot de )
See Also:
Serialized Form

Field Summary
static TagType ACTION
           
static TagType ATTRIBUTE
           
static TagType BEAN
           
static TagType FUNCTION
           
static TagType INFO
           
static TagType OPTION
           
static TagType OUTPUT
           
static TagType PARAMETER
           
static TagType PASSWORD
           
static TagType RADIO
           
static TagType SELECT
           
static TagType SUBMIT
           
static TagType TAG
           
static TagType TEXT
           
static TagType TEXTAREA
           
static TagType VALIDATION
           
 
Method Summary
 Parameter createParameter()
          Creates a Parameter from this TagType if possible or returns null
static TagType forAnnotationClassName(java.lang.String className)
           
static TagType forJavadocName(java.lang.String javadocName)
           
static TagType forName(java.lang.String name)
           
 java.lang.String getAnnotationClassName()
           
 java.lang.String getJavaDocName()
           
 java.lang.Class getParameterType()
           
 java.lang.String toString()
          Returns a string representation of this enum instance
 
Methods inherited from class org.japano.util.Enum
fromIdentifier, getIdentifier, hashCode, instances, readResolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION

public static final TagType ACTION

ATTRIBUTE

public static final TagType ATTRIBUTE

BEAN

public static final TagType BEAN

FUNCTION

public static final TagType FUNCTION

OUTPUT

public static final TagType OUTPUT

VALIDATION

public static final TagType VALIDATION

OPTION

public static final TagType OPTION

INFO

public static final TagType INFO

PARAMETER

public static final TagType PARAMETER

PASSWORD

public static final TagType PASSWORD

RADIO

public static final TagType RADIO

SELECT

public static final TagType SELECT

SUBMIT

public static final TagType SUBMIT

TAG

public static final TagType TAG

TEXT

public static final TagType TEXT

TEXTAREA

public static final TagType TEXTAREA
Method Detail

toString

public java.lang.String toString()
Description copied from class: Enum
Returns a string representation of this enum instance

Overrides:
toString in class Enum
Returns:
string representation

getJavaDocName

public java.lang.String getJavaDocName()

getAnnotationClassName

public java.lang.String getAnnotationClassName()

getParameterType

public java.lang.Class getParameterType()

forAnnotationClassName

public static TagType forAnnotationClassName(java.lang.String className)

forJavadocName

public static TagType forJavadocName(java.lang.String javadocName)

createParameter

public Parameter createParameter()
Creates a Parameter from this TagType if possible or returns null

Returns:
parameter or null

forName

public static TagType forName(java.lang.String name)