net.sourceforge.wurfl.core
Class MarkUp

java.lang.Object
  extended by net.sourceforge.wurfl.core.MarkUp

public final class MarkUp
extends Object

The device's markup.

This class represent a markup handled by a device in (WML, CHTML, advanced XHTML, simple XHTML). It is a emulation of java5 enum implementation.

Version:
$Id: MarkUp.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca

Field Summary
static MarkUp CHTML
          CHTML markup
static MarkUp WML
          WML markup
static MarkUp XHTML_ADVANCED
          Advanced XHTML markup
static MarkUp XHTML_SIMPLE
          Simple XHTML markup
 
Method Summary
 String toString()
          Convert to String.
 int toValue()
          Get the int value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WML

public static final MarkUp WML
WML markup


CHTML

public static final MarkUp CHTML
CHTML markup


XHTML_SIMPLE

public static final MarkUp XHTML_SIMPLE
Simple XHTML markup


XHTML_ADVANCED

public static final MarkUp XHTML_ADVANCED
Advanced XHTML markup

Method Detail

toString

public String toString()
Convert to String.

Overrides:
toString in class Object
Returns:
String string representation.

toValue

public int toValue()
Get the int value.

Returns:
int the int value of the markUp type.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.