com.fatwire.cs.core.uri
Class Definition.ContainerType

java.lang.Object
  extended by com.fatwire.cs.core.uri.Definition.ContainerType
Enclosing interface:
Definition

public static final class Definition.ContainerType
extends java.lang.Object

This object defines the containers for which a URI can be defined. Currently, only servlet containers and portlet containers are supported. A flag exis to specify the default container, which means the URI should be constructed for the current container, whatever it is.


Field Summary
static Definition.ContainerType DEFAULT
           
static Definition.ContainerType PORTLET
           
static Definition.ContainerType SERVLET
           
 
Method Summary
static java.util.Iterator getContainerTypes()
          Return an iterator containing all of the app types known.
 java.lang.String toString()
          Returns a string representation of this type.
static Definition.ContainerType valueOf(java.lang.String string)
          Factory method to get a specific app type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT

public static final Definition.ContainerType DEFAULT

PORTLET

public static final Definition.ContainerType PORTLET

SERVLET

public static final Definition.ContainerType SERVLET
Method Detail

getContainerTypes

public static java.util.Iterator getContainerTypes()
Return an iterator containing all of the app types known.

Returns:
Iterator over all of the known of AppType objects

valueOf

public static Definition.ContainerType valueOf(java.lang.String string)
Factory method to get a specific app type

Parameters:
string - representation of the app type
Returns:
AppType object or null if no match.

toString

public java.lang.String toString()
Returns a string representation of this type.

Overrides:
toString in class java.lang.Object
Returns:
string representation of this type.