Object PubContentFactory
-
- All Implemented Interfaces:
public class PubContentFactoryPubContentFactoryis a factory class responsible for creating instances ofPubContentbased on the provided markup type. It supports creating content for HTML, HTML URL, and InMobi JSON markup types.
-
-
Field Summary
Fields Modifier and Type Field Description public final static PubContentFactoryINSTANCE
-
Method Summary
Modifier and Type Method Description final PubContentcreate(String content, String markupType)Creates an instance of PubContentbased on the provided markup type.-
-
Method Detail
-
create
final PubContent create(String content, String markupType)
Creates an instance of
PubContentbased on the provided markup type.- Parameters:
content- The content string to be parsed.markupType- The type of markup to be used for creating thePubContentinstance.- Returns:
An instance of
PubContentcorresponding to the provided markup type.
-
-
-
-