Modifier and Type | Method and Description |
---|---|
BodyType |
CustomContentEntityObject.getDefaultBodyType() |
BodyType |
DefaultContentAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
BodyType |
ContentEntityAdapterParent.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
BodyType |
ContentEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject)
Get the default type for BodyContent objects attached to this content.
|
Modifier and Type | Field and Description |
---|---|
static BodyType |
BodyType.MAIL
Deprecated.
since 4.2 and removal of Mail as core content type
|
static BodyType |
BodyType.RAW
Body is raw character data (will not be rendered for display)
|
static BodyType |
BodyType.WIKI
Body is legacy wiki markup (will be auto-converted to XHTML)
|
static BodyType |
BodyType.XHTML
Body is XHTML storage format
|
Modifier and Type | Method and Description |
---|---|
static BodyType |
BodyType.fromInt(int id)
Static method required by the
PersistentEnum definition. |
BodyType |
BodyContent.getBodyType() |
BodyType |
BodyTypeFactory.getBodyType(String type)
Return a body type which isn't one of the core types with their own direct accessor.
|
BodyType |
ContentEntityObject.getDefaultBodyType() |
BodyType |
BodyTypeFactory.getMailBodyType() |
BodyType |
BodyTypeFactory.getWikiBodyType() |
BodyType |
BodyTypeFactory.getXhtmlBodyType() |
Modifier and Type | Method and Description |
---|---|
BodyContent |
ContentEntityObject.getBodyContent(BodyType expectedBodyType)
Gets the
BodyContent object for this ContentEntityObject or throws an UnsupportedOperationException
if its body type is not the same as the supplied expectedBodyType . |
void |
BodyContent.setBodyType(BodyType bodyType)
Changes the body type for this object.
|
Constructor and Description |
---|
BodyContent(ContentEntityObject content,
String body,
BodyType bodyType) |
Modifier and Type | Method and Description |
---|---|
BodyType |
DummyAvailableContentEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
Modifier and Type | Method and Description |
---|---|
BodyType |
Mail.getDefaultBodyType()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BodyType |
PageTemplate.getBodyType() |
Modifier and Type | Method and Description |
---|---|
void |
PageTemplate.setBodyType(BodyType bodyType) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPageTemplateManager.setTemplateHandlers(Map<BodyType,TemplateHandler> templateHandlers) |
Modifier and Type | Method and Description |
---|---|
BodyType |
JsonPropertyEntityAdapter.getDefaultBodyType(CustomContentEntityObject pluginContentEntityObject) |
Constructor and Description |
---|
ContentBodyEntity(String value,
BodyType bodyType) |
Modifier and Type | Method and Description |
---|---|
BodyType |
SpaceDescription.getDefaultBodyType() |
Modifier and Type | Method and Description |
---|---|
BodyType |
PersonalInformation.getDefaultBodyType() |
Copyright © 2003–2016 Atlassian. All rights reserved.