|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.digitalis.dif.presentation.views.jsp.objects.contributions.DocumentContributions
public class DocumentContributions
Manages the contributions for a given HTML page. Will collect all from all the inner tags and render them in the end in a aggregated structured way
| Field Summary | |
|---|---|
static java.lang.String |
INDENT
The indentation for css and js blocks. |
| Constructor Summary | |
|---|---|
DocumentContributions()
|
|
| Method Summary | |
|---|---|
void |
addContribution(IDocumentContribution contribution)
Adds a new contributions to the corresponding unique/non-unique list. |
void |
addContributions(DocumentContributions contributions)
Adds a set of contributions to the list. |
void |
addContributions(java.util.List<IDocumentContribution> list)
Adds a list of contributions. |
void |
addCSS(java.lang.String CSSFileName)
Adds a new CSS file as an unique contribution. |
void |
addCSS(java.lang.String CSSFileName,
java.lang.String media)
Adds a new CSS file as an unique contribution. |
void |
addCSSClassDefinition(java.lang.String CSSClass)
Adds a new CSS class definition as an in-line CSS definition. |
void |
addJavaScript(java.lang.String javaScriptFileName)
Adds a new JavaScript file as an unique contribution. |
void |
addJavaScriptCodeSnippet(java.lang.String javaScriptSnippet)
Adds a new JavaScript snippet of code as a non-unique contribution. |
java.lang.String |
getFooterBlock()
Gets the footer block. |
java.lang.String |
getFooterBlock(java.lang.Boolean applyMaskOnLoad)
Gets the footer block. |
java.lang.String |
getHeaderBlock()
Gets the header block. |
java.lang.String |
getHeaderScriptsBlock()
Deprecated. |
boolean |
isEmpty()
Checks if is empty. |
java.lang.String |
toString()
To string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INDENT
| Constructor Detail |
|---|
public DocumentContributions()
| Method Detail |
|---|
public void addContribution(IDocumentContribution contribution)
contribution - the contribution to addpublic void addContributions(DocumentContributions contributions)
contributions - the contributions to addpublic void addContributions(java.util.List<IDocumentContribution> list)
list - of contributions to addpublic void addCSS(java.lang.String CSSFileName)
CSSFileName - the file to add
public void addCSS(java.lang.String CSSFileName,
java.lang.String media)
CSSFileName - the file to addmedia - the css mediapublic void addCSSClassDefinition(java.lang.String CSSClass)
CSSClass - the class to addpublic void addJavaScript(java.lang.String javaScriptFileName)
javaScriptFileName - the file to addpublic void addJavaScriptCodeSnippet(java.lang.String javaScriptSnippet)
javaScriptSnippet - the code to addpublic java.lang.String getFooterBlock()
public java.lang.String getFooterBlock(java.lang.Boolean applyMaskOnLoad)
applyMaskOnLoad - Apply's to the page a mask when on load events area executing.
public java.lang.String getHeaderBlock()
@Deprecated public java.lang.String getHeaderScriptsBlock()
public boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||