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:
  • Constructor Details

    • MarkupLanguage

      public MarkupLanguage()
      Empty constructor
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object