public class ViewProcessor extends Object
| Constructor and Description |
|---|
ViewProcessor() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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()
Copyright © 2015. All rights reserved.