public class

BodyType

extends Object
implements Serializable PersistentEnum
java.lang.Object
   ↳ com.atlassian.confluence.core.BodyType

Class Overview

BodyType is not an enum because ultimately there may not be a fixed set of BodyType. It could become a plugin point in the future.

Summary

Fields
public static final BodyType MAIL
public static final BodyType WIKI
public static final BodyType XHTML
Public Constructors
BodyType(int id)
Public Methods
boolean equals(Object obj)
static BodyType fromInt(int id)
Static method required by the net.sf.hibernate.PersistentEnum definition.
int hashCode()
int toInt()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface net.sf.hibernate.PersistentEnum

Fields

public static final BodyType MAIL

public static final BodyType WIKI

public static final BodyType XHTML

Public Constructors

public BodyType (int id)

Public Methods

public boolean equals (Object obj)

public static BodyType fromInt (int id)

Static method required by the net.sf.hibernate.PersistentEnum definition.

Will throw a RuntimeException if the ID specified is not known.
Parameters
id Id of the BodyType to resolve.
Returns
  • An instance of BodyType for the ID specified.

public int hashCode ()

public int toInt ()

public String toString ()