Class MarkupLanguage
java.lang.Object
com.gentics.contentnode.rest.model.MarkupLanguage
- All Implemented Interfaces:
Serializable
Markup language object
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionContentTypeExtensionOptional feature, this markup language is bound togetId()
ID of the markup languagegetName()
Nameboolean
Flag, whether pages created with template that use this markup language will generally be excluded from publishingsetContentType
(String contentType) Set the content typesetExcludeFromPublishing
(boolean excludeFromPublishing) Set the excludeFromPublishing flagsetExtension
(String extension) ExtensionsetFeature
(String feature) Set the feature nameSet the IDSet the nametoString()
-
Constructor Details
-
MarkupLanguage
public MarkupLanguage()Empty constructor
-
-
Method Details
-
getId
ID of the markup language- Returns:
- the id
-
getName
Name- Returns:
- the name
-
getExtension
Extension- Returns:
- the extension
-
getContentType
ContentType- Returns:
- the contentType
-
setId
Set the ID- Parameters:
id
- the id to set- Returns:
- fluent API
-
setName
Set the name- Parameters:
name
- the name to set- Returns:
- fluent API
-
setExtension
Extension- Parameters:
extension
- the extension to set- Returns:
- fluent API
-
setContentType
Set the content type- Parameters:
contentType
- the contentType to set- Returns:
- fluent API
-
getFeature
Optional feature, this markup language is bound to- Returns:
- feature
-
setFeature
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
Set the excludeFromPublishing flag- Parameters:
excludeFromPublishing
- flag- Returns:
- fluent API
-
toString
-