Interface ContentReferenceParseService

All Known Implementing Classes:
ContentReferenceParseServiceImpl

public interface ContentReferenceParseService
Service to find references in a html string.
  • Method Details

    • parseReferences

      Set<ContentReference> parseReferences(String html)
      Find references in the given html string.
      Parameters:
      html - The html string to parse.
      Returns:
      the found references.
    • parseReferences

      Set<ContentReference> parseReferences(String html, Class<? extends ContentReference>... referenceClasses)
      Find references in the given html string.
      Parameters:
      html - The html string to parse.
      referenceClasses - The reference types to find.
      Returns:
      the found references.
    • parseReferences

      Set<ContentReference> parseReferences(String html, Set<Class<? extends ContentReference>> referenceClasses)
      Find references in the given html string.
      Parameters:
      html - The html string to parse.
      referenceClasses - The reference types to find.
      Returns:
      the found references.