Class RichTextFactory


  • public class RichTextFactory
    extends java.lang.Object
    This factory will be used in order to create the CDARichNode-graph representation of the Contentful data returned by a rich text - field.
    • Constructor Summary

      Constructors 
      Constructor Description
      RichTextFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void resolveRichTextField​(ArrayResource array, CDAClient client)
      Walk through the given array and resolve all rich text fields.
      • Methods inherited from class java.lang.Object

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

      • RichTextFactory

        public RichTextFactory()
    • Method Detail

      • resolveRichTextField

        public static void resolveRichTextField​(ArrayResource array,
                                                CDAClient client)
        Walk through the given array and resolve all rich text fields.
        Parameters:
        array - the array to be walked.
        client - the client to be used if updating of types is needed.