|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.BodyType
public class BodyType
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.
| Field Summary | |
|---|---|
static BodyType |
MAIL
Deprecated. since 4.2 and removal of Mail as core content type |
static BodyType |
RAW
Body is raw character data (will not be rendered for display) |
static BodyType |
WIKI
Body is legacy wiki markup (will be auto-converted to XHTML) |
static BodyType |
XHTML
Body is XHTML storage format |
| Constructor Summary | |
|---|---|
BodyType(int id)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
static BodyType |
fromInt(int id)
Static method required by the PersistentEnum definition. |
int |
hashCode()
|
int |
toInt()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BodyType WIKI
public static final BodyType RAW
public static final BodyType XHTML
public static final BodyType MAIL
| Constructor Detail |
|---|
public BodyType(int id)
| Method Detail |
|---|
public int toInt()
toInt in interface net.sf.hibernate.PersistentEnumpublic static BodyType fromInt(int id)
PersistentEnum definition.
Will throw a RuntimeException if the ID specified is not known.
id - Id of the BodyType to resolve.
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||