|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.barracudamvc.core.view.ClientType
This class defines all valid ClientTypes.
We start by defining a series of basic interfaces to define all known client types and specify how they relate to one another. Please note that these are hierarchical in nature. Strongly typed ClientType interfaces include:
Concrete client types include:
This all functions in a manner similar to the FormatType class. For more details, please refer to those Javadocs.
Field Summary | |
static ClientType |
CHTML_BROWSER
|
static ClientType |
HTML_3_2_BROWSER
|
static ClientType |
HTML_4_0_BROWSER
|
static ClientType |
HTML_BROWSER
|
static ClientType |
IE_3x
|
static ClientType |
IE_4x
|
static ClientType |
IE_5x
|
static ClientType |
IE_6x
|
static ClientType |
NN_3x
|
static ClientType |
NN_4x
|
static ClientType |
NN_6x
|
static ClientType |
OPERA_4x
|
static ClientType |
OPERA_5x
|
static ClientType |
UNKNOWN_BROWSER
|
static ClientType |
VXML_BROWSER
|
static ClientType |
WML_BROWSER
|
static ClientType |
XHTML_BROWSER
|
static ClientType |
XML_BROWSER
|
Constructor Summary | |
protected |
ClientType()
Private constructor to prevent external instantiation |
Method Summary | |
static ClientType |
getInstance(String strName)
Given a target string, find the matching client type |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ClientType HTML_BROWSER
public static final ClientType HTML_3_2_BROWSER
public static final ClientType IE_3x
public static final ClientType IE_4x
public static final ClientType NN_3x
public static final ClientType NN_4x
public static final ClientType OPERA_4x
public static final ClientType HTML_4_0_BROWSER
public static final ClientType IE_5x
public static final ClientType IE_6x
public static final ClientType NN_6x
public static final ClientType OPERA_5x
public static final ClientType CHTML_BROWSER
public static final ClientType XML_BROWSER
public static final ClientType VXML_BROWSER
public static final ClientType WML_BROWSER
public static final ClientType XHTML_BROWSER
public static final ClientType UNKNOWN_BROWSER
Constructor Detail |
protected ClientType()
Method Detail |
public static ClientType getInstance(String strName)
strName
- the str name that describes this client type
(ie. "ClientType.HTML_BROWSER", etc)
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |