|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HtmlPathResolver
HtmlPathResolver provides methods for resolving resources based on HTML Render Dependencies
confiuration. HtmlPathResolver objects are valid only as long as the related
PortalLookAndFeel object is valid.
Skin.getHtmlPathResolver(),
Skeleton.getHtmlPathResolver(),
"Skin and Skeleton configuration element <render-dependencies>"| Method Summary | |
|---|---|
String |
resolveLinkPath(String uri)
Resolves the specified uri using the HTML Render Dependencies links configuration for the related
Look and Feel component (Skin/Skeleton). |
String |
resolveScriptPath(String uri)
Resolves the specified uri using the HTML Render Dependencies scripts configuration for the related
Look and Feel component (Skin/Skeleton). |
String |
resolveStylePath(String uri)
Resolves the specified uri using the HTML Render Dependencies styles configuration for the related
Look and Feel component (Skin/Skeleton). |
| Method Detail |
|---|
String resolveLinkPath(String uri)
throws IllegalStateException
links configuration for the related
Look and Feel component (Skin/Skeleton). It is assumed that the specified uri is a partial resource path,
i.e. "window.css" or "css/colors.css". NOTE: Calls to PortalLookAndFeel.reinit() will
cause all previously resolved link paths to become invalid.
LIFECYCLE RESTRICTION: This method can only be called during the render lifecycle; calls
prior to the render lifecycle will cause an IllegalStateException.
uri - Parital resource path to resolve
IllegalStateException - If called during an inappropriate lifecyclePortalLookAndFeel.reinit(String, String, String, String, String, String),
"Skin or Skeleton configuration element <links>"
String resolveScriptPath(String uri)
throws IllegalStateException
scripts configuration for the related
Look and Feel component (Skin/Skeleton). It is assumed that the specified uri is a partial resource path,
i.e. "dhtml.js" or "js/dialog.js". NOTE: Calls to PortalLookAndFeel.reinit() will
cause all previously resolved script paths to become invalid.
LIFECYCLE RESTRICTION: This method can only be called during the render lifecycle; calls
prior to the render lifecycle will cause an IllegalStateException.
uri - Parital resource path to resolve
IllegalStateException - If called during an inappropriate lifecyclePortalLookAndFeel.reinit(String, String, String, String, String, String),
"Skin or Skeleton configuration element <scripts>"
String resolveStylePath(String uri)
throws IllegalStateException
styles configuration for the related
Look and Feel component (Skin/Skeleton). It is assumed that the specified uri is a partial resource path,
i.e. "window.css" or "css/colors.css". NOTE: Calls to PortalLookAndFeel.reinit() will
cause all previously resolved style paths to become invalid.
LIFECYCLE RESTRICTION: This method can only be called during the render lifecycle; calls
prior to the render lifecycle will cause an IllegalStateException.
uri - Parital resource path to resolve
IllegalStateException - If called during an inappropriate lifecyclePortalLookAndFeel.reinit(String, String, String, String, String, String),
"Skin or Skeleton configuration element <styles>"
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||