Skip navigation links
com.fatwire.cs.core.uri
Class Definition.ContainerType
java.lang.Object
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.
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 |
DEFAULT
public static final Definition.ContainerType DEFAULT
PORTLET
public static final Definition.ContainerType PORTLET
SERVLET
public static final Definition.ContainerType SERVLET
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.
Skip navigation links
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.