Class DocumentModelReferenceCollector

java.lang.Object
ro.sync.ecss.extensions.api.webapp.references.DocumentModelReferenceCollector
All Implemented Interfaces:
ReferenceCollector

@API(type=NOT_EXTENDABLE, src=PUBLIC) public class DocumentModelReferenceCollector extends 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 Details

    • 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
  • Method Details