public interface I_CmsLinkParseable
Relation validation for a file is only enabled if the file's resource type implements this interface. so, files with resource types that do not implement this interface don't get validated for broken links, during publsihing, for instance.
This interface is used to build the internal relation information, but it is not directly used to validate the relations.
java.util.List<CmsLink> parseLinks(CmsObject cms, CmsFile file)
Implementations of this method must return an empty list, or better
Collections.EMPTY_LIST, if no link is found at all.
Implementations of this method should return the list of links including internal (OpenCms VFS) and external links (http, https, mailto, ftp, etc.).
cms- the current user's context
file- the file to be parsed
CmsLinkobjects with the URIs of all linked resources