|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsLinkParseable
This interface serves to retrieve all links from a given file by parsing.
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.
Method Summary | |
---|---|
java.util.List |
parseLinks(CmsObject cms,
CmsFile file)
Returns a list of all links from the specified file. |
Method Detail |
---|
java.util.List 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 contextfile
- the file to be parsed
CmsLink
objects with the URIs of all linked resources
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |