Class MarkupLanguage
- java.lang.Object
-
- com.gentics.contentnode.rest.model.MarkupLanguage
-
- All Implemented Interfaces:
Serializable
public class MarkupLanguage extends Object implements Serializable
Markup language object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MarkupLanguage()
Empty constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
ContentTypeString
getExtension()
ExtensionString
getFeature()
Optional feature, this markup language is bound toInteger
getId()
ID of the markup languageString
getName()
Nameboolean
isExcludeFromPublishing()
Flag, whether pages created with template that use this markup language will generally be excluded from publishingMarkupLanguage
setContentType(String contentType)
Set the content typeMarkupLanguage
setExcludeFromPublishing(boolean excludeFromPublishing)
Set the excludeFromPublishing flagMarkupLanguage
setExtension(String extension)
ExtensionMarkupLanguage
setFeature(String feature)
Set the feature nameMarkupLanguage
setId(Integer id)
Set the IDMarkupLanguage
setName(String name)
Set the nameString
toString()
-
-
-
Method Detail
-
getId
public Integer getId()
ID of the markup language- Returns:
- the id
-
getName
public String getName()
Name- Returns:
- the name
-
getExtension
public String getExtension()
Extension- Returns:
- the extension
-
getContentType
public String getContentType()
ContentType- Returns:
- the contentType
-
setId
public MarkupLanguage setId(Integer id)
Set the ID- Parameters:
id
- the id to set- Returns:
- fluent API
-
setName
public MarkupLanguage setName(String name)
Set the name- Parameters:
name
- the name to set- Returns:
- fluent API
-
setExtension
public MarkupLanguage setExtension(String extension)
Extension- Parameters:
extension
- the extension to set- Returns:
- fluent API
-
setContentType
public MarkupLanguage setContentType(String contentType)
Set the content type- Parameters:
contentType
- the contentType to set- Returns:
- fluent API
-
getFeature
public String getFeature()
Optional feature, this markup language is bound to- Returns:
- feature
-
setFeature
public MarkupLanguage setFeature(String feature)
Set the feature name- Parameters:
feature
- name- Returns:
- fluent API
-
isExcludeFromPublishing
public boolean isExcludeFromPublishing()
Flag, whether pages created with template that use this markup language will generally be excluded from publishing- Returns:
- excludeFromPublishing flag
-
setExcludeFromPublishing
public MarkupLanguage setExcludeFromPublishing(boolean excludeFromPublishing)
Set the excludeFromPublishing flag- Parameters:
excludeFromPublishing
- flag- Returns:
- fluent API
-
-