org.alembik.util
Enum TranscodingUtils.MarkupLanguage

java.lang.Object
  extended by java.lang.Enum<TranscodingUtils.MarkupLanguage>
      extended by org.alembik.util.TranscodingUtils.MarkupLanguage
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TranscodingUtils.MarkupLanguage>
Enclosing class:
TranscodingUtils

public static enum TranscodingUtils.MarkupLanguage
extends java.lang.Enum<TranscodingUtils.MarkupLanguage>

The mark-up languages supported by the web rendering engine. Each entry contains additional information on the relevant mark-up type.

See Also:
TranscodingUtils.MARKUP_LANGUAGE, TranscodingUtils.setMarkupLanguage(Text, org.alembik.util.TranscodingUtils.MarkupLanguage), TranscodingUtils.getMarkupLanguage(Text)

Enum Constant Summary
WML_1_1
          WML 1.1
WML_1_2
          WML 1.1
WML_1_3
          WML 1.3
XHTML_BASIC_1_0
          XHTML Basic 1.0
XHTML_BASIC_1_1
          XHTML Basic 1.1
XHTML_MP_1_0
          XHTML Mobile Profile 1.0
XHTML_MP_1_1
          XHTML Mobile Profile 1.1
XHTML_MP_1_2
          XHTML Mobile Profile 1.2
 
Method Summary
 java.lang.String contentType()
          Gets the mime-type of documents of this markup language.
 java.lang.String docTypeName()
          Gets the type of documents of this markup language.
 java.lang.String docTypePublicId()
          Gets the DTD public ID of documents of this markup language.
 java.lang.String docTypeSystemId()
          Gets the DTD system ID of documents of this markup language.
 javax.naming.Name path()
          Gets the server internal path for the tag filtering configuration of this markup language.
static TranscodingUtils.MarkupLanguage valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranscodingUtils.MarkupLanguage[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 java.lang.String xmlns()
          Gets the XML schema namespace of documents of this markup language.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WML_1_1

public static final TranscodingUtils.MarkupLanguage WML_1_1
WML 1.1


WML_1_2

public static final TranscodingUtils.MarkupLanguage WML_1_2
WML 1.1


WML_1_3

public static final TranscodingUtils.MarkupLanguage WML_1_3
WML 1.3


XHTML_BASIC_1_0

public static final TranscodingUtils.MarkupLanguage XHTML_BASIC_1_0
XHTML Basic 1.0


XHTML_BASIC_1_1

public static final TranscodingUtils.MarkupLanguage XHTML_BASIC_1_1
XHTML Basic 1.1


XHTML_MP_1_0

public static final TranscodingUtils.MarkupLanguage XHTML_MP_1_0
XHTML Mobile Profile 1.0


XHTML_MP_1_1

public static final TranscodingUtils.MarkupLanguage XHTML_MP_1_1
XHTML Mobile Profile 1.1


XHTML_MP_1_2

public static final TranscodingUtils.MarkupLanguage XHTML_MP_1_2
XHTML Mobile Profile 1.2

Method Detail

values

public static final TranscodingUtils.MarkupLanguage[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(TranscodingUtils.MarkupLanguage c : TranscodingUtils.MarkupLanguage.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static TranscodingUtils.MarkupLanguage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

path

public javax.naming.Name path()
Gets the server internal path for the tag filtering configuration of this markup language.

Returns:
filter configuration path

docTypeName

public java.lang.String docTypeName()
Gets the type of documents of this markup language.

Returns:
documents type

docTypePublicId

public java.lang.String docTypePublicId()
Gets the DTD public ID of documents of this markup language.

Returns:
DTD public ID

docTypeSystemId

public java.lang.String docTypeSystemId()
Gets the DTD system ID of documents of this markup language.

Returns:
DTD system ID

xmlns

public java.lang.String xmlns()
Gets the XML schema namespace of documents of this markup language.

Returns:
XML schema namespace

contentType

public java.lang.String contentType()
Gets the mime-type of documents of this markup language.

Returns:
mime-type value