com.cc.framework.taglib.util
Class JspDirective

java.lang.Object
  extended bycom.cc.framework.taglib.util.JspDirective
All Implemented Interfaces:
java.io.Serializable, SimpleEnumType

public final class JspDirective
extends java.lang.Object
implements SimpleEnumType, java.io.Serializable

Defines JSP directive types used in the common controls framework

Since:
1.0
Version:
$Revision: 1.14 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static JspDirective[] ALL
          Collection of all JspDirective objects
static JspDirective ENDOFPAGE
          JSP directive: ENDOFPAGE
static JspDirective INCLUDES
          JSP directive: INCLUDES
static JspDirective NONE
          JSP directive: NONE
private static long serialVersionUID
          Serial Version UID
private  java.lang.String type
          The internal type
 
Constructor Summary
private JspDirective(java.lang.String type)
          Constructor for JspDirective
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
 int hashCode()
           
static JspDirective parse(java.lang.String code)
          Creates for the argument an Object of type JspDirective
 java.lang.String toString()
          Returns the type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

NONE

public static final JspDirective NONE
JSP directive: NONE


INCLUDES

public static final JspDirective INCLUDES
JSP directive: INCLUDES


ENDOFPAGE

public static final JspDirective ENDOFPAGE
JSP directive: ENDOFPAGE


type

private java.lang.String type
The internal type


ALL

private static final JspDirective[] ALL
Collection of all JspDirective objects

Constructor Detail

JspDirective

private JspDirective(java.lang.String type)
Constructor for JspDirective

Parameters:
type - The type
Method Detail

toString

public java.lang.String toString()
Returns the type

Returns:
String

equals

public boolean equals(java.lang.Object obj)
Compares this type to the specified object.

Parameters:
obj - The object to compare this JspDirective object against.
Returns:
true if the internal types are equal; false otherwise.

hashCode

public int hashCode()
See Also:
Object.hashCode()

parse

public static JspDirective parse(java.lang.String code)
Creates for the argument an Object of type JspDirective

Parameters:
code - String to parse
Returns:
SortOrder


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.