Class DocumentModelReferenceCollector

  • All Implemented Interfaces:
    ReferenceCollector

    @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class DocumentModelReferenceCollector
    extends java.lang.Object
    implements ReferenceCollector
    Instances of this class are used to collect the references to external resources (images, audio, video, XInclude, etc.) from an AuthorDocumentModel To be used when the document has been already parsed and its structure is already known See URLCollectingReader for collecting references from a document specified by a URL
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentModelReferenceCollector​(AuthorDocumentModel model, ro.sync.exml.workspace.impl.references.CollectingStrategy collector)
      Creates a new DocumentModelReferenceCollector with a given model and collecting strategy
    • Constructor Detail

      • DocumentModelReferenceCollector

        public DocumentModelReferenceCollector​(AuthorDocumentModel model,
                                               ro.sync.exml.workspace.impl.references.CollectingStrategy collector)
        Creates a new DocumentModelReferenceCollector with a given model and collecting strategy
        Parameters:
        model - the document model
        collector - the collecting strategy