Object PubContentFactory

  • All Implemented Interfaces:

    
    public class PubContentFactory
    
                        

    PubContentFactory is a factory class responsible for creating instances of PubContent based on the provided markup type. It supports creating content for HTML, HTML URL, and InMobi JSON markup types.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final PubContent create(String content, String markupType) Creates an instance of PubContent based on the provided markup type.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • create

         final PubContent create(String content, String markupType)

        Creates an instance of PubContent based on the provided markup type.

        Parameters:
        content - The content string to be parsed.
        markupType - The type of markup to be used for creating the PubContent instance.
        Returns:

        An instance of PubContent corresponding to the provided markup type.