|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.wcm.core.impl.designer.CSSWriter
public class CSSWriter
Implements a writer that takes a design node and writes it's content as a style sheet.
| Constructor Summary | |
|---|---|
CSSWriter(Node root)
creates a new css writer for the given root node |
|
| Method Summary | |
|---|---|
boolean |
isIncludeCustom()
Checks if custom CSS properties are included |
void |
setIncludeCustom(boolean includeCustom)
Controls if custom CSS properties are included |
void |
write(PrintWriter out)
Writes the content as style sheet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSSWriter(Node root)
root - the root node of the design| Method Detail |
|---|
public boolean isIncludeCustom()
true if custom css properties are includedpublic void setIncludeCustom(boolean includeCustom)
includeCustom - true if custom CSS properties are included
public void write(PrintWriter out)
throws IOException,
RepositoryException
out - writer to write to
IOException - if an I/O error occurs
RepositoryException - if an error during repository access occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||