Package ch.tocco.nice2.dms.api.reference
Interface ContentReferenceParseService
- All Known Implementing Classes:
ContentReferenceParseServiceImpl
public interface ContentReferenceParseService
Service to find references in a html string.
-
Method Summary
Modifier and TypeMethodDescriptionparseReferences
(String html) Find references in the given html string.parseReferences
(String html, Class<? extends ContentReference>... referenceClasses) Find references in the given html string.parseReferences
(String html, Set<Class<? extends ContentReference>> referenceClasses) Find references in the given html string.
-
Method Details
-
parseReferences
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.
-