|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.declarativeui.ViewProcessor
public class ViewProcessor
Process Crux view files, extracting metadata and generating the host html for application pages.
| Constructor Summary | |
|---|---|
ViewProcessor()
|
|
| Method Summary | |
|---|---|
static JSONObject |
extractWidgetsMetadata(String viewId,
Document viewSource,
boolean xhmltInput)
Extract the widgets metadata from the view page. |
static void |
generateHTML(String viewId,
Document view,
OutputStream out)
Generate the HTML code from the view page. |
static String |
getOutputCharset()
|
static Document |
getView(InputStream file,
String filename,
String device)
|
static void |
setForceIndent(boolean force)
Makes it easier to read the output files |
static void |
setOutputCharset(String charset)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewProcessor()
| Method Detail |
|---|
public static Document getView(InputStream file,
String filename,
String device)
file - device -
public static void generateHTML(String viewId,
Document view,
OutputStream out)
viewId - view - out -
public static JSONObject extractWidgetsMetadata(String viewId,
Document viewSource,
boolean xhmltInput)
viewId - viewSource - xhmltInput -
public static void setForceIndent(boolean force)
force - public static void setOutputCharset(String charset)
outputCharset - public static String getOutputCharset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||