|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HtmlLibraryManager
HtmlLibraryManager provides access to repository defined
html libraries.
| Method Summary | |
|---|---|
HtmlLibrary |
getLibrary(LibraryType type,
String path)
Returns the html library that is configured at the given path. |
HtmlLibrary |
getLibrary(org.apache.sling.api.SlingHttpServletRequest request)
Returns the html library that is address by the given request. |
boolean |
isDebugEnabled()
Checks if debug support is enabled. |
boolean |
isGzipEnabled()
Checks if gzip compression is enabled. |
boolean |
isMinifyEnabled()
Checks if library minification is enabled. |
void |
writeCssInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
Writes the CSS include snippets to the given writer. |
void |
writeIncludes(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
Writes the include snippets to the given writer. |
void |
writeJsInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
Writes the JS include snippets to the given writer. |
void |
writeThemeInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
Writes the themed CSS and JS include snippets to the given writer. |
| Method Detail |
|---|
void writeJsInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
throws IOException
request - requestout - writercategories - categories
IOException - if an I/O error occurs
void writeCssInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
throws IOException
request - requestout - writercategories - categories
IOException - if an I/O error occurs
void writeThemeInclude(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
throws IOException
request - requestout - writercategories - categories
IOException - if an I/O error occurs
void writeIncludes(org.apache.sling.api.SlingHttpServletRequest request,
Writer out,
String... categories)
throws IOException
request - requestout - writercategories - categories
IOException - if an I/O error occurs
HtmlLibrary getLibrary(LibraryType type,
String path)
null is returned.
type - the library typepath - the path
HtmlLibrary getLibrary(org.apache.sling.api.SlingHttpServletRequest request)
null is returned.
request - the request
boolean isMinifyEnabled()
true if minification is enabled.boolean isDebugEnabled()
true if debug is enabled.boolean isGzipEnabled()
true if gzip is enabled.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||