Class MarkupTypeKt

  • All Implemented Interfaces:

    
    public final class MarkupTypeKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean isValidMarkupType(String type) Utility function to validate if a markup type is supported and valid.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • isValidMarkupType

         final static Boolean isValidMarkupType(String type)

        Utility function to validate if a markup type is supported and valid.

        This function checks if the provided markup type string corresponds to one of the supported markup types. It excludes the UNKNOWN type as it represents an invalid or unsupported markup format.

        Parameters:
        type - The markup type string to validate.
        Returns:

        true if the markup type is valid and supported, false otherwise.