|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--objectivehtml.ohtmlc.ObjectiveHtmlCompiler
This is the main class for the Objective Html Comp;iler (ohtmlc) compiler tool. It contains the main execution method and also has methods for writing out the OHtml code.
Field Summary | |
static java.lang.String |
DEFAULT_CHARSET
The default output character encoding |
static int |
TAB_CLASS_DECL
The tabbing for class declaration |
static int |
TAB_CONSTRUCTOR_DECL
The tabbing for constructor declaration |
static int |
TAB_CONSTRUCTOR_PROPERTIES
The tabbing for constructor properties |
static int |
TAB_HTMLWIDGET_INST
The tabbing for htmlwidget instantiation |
static int |
TAB_HTMLWIDGET_PROPERTIES
The tabbing for htmlwidget properties |
static int |
TAB_MEMBER_DECL
The tabbing for member declarations |
Constructor Summary | |
ObjectiveHtmlCompiler()
|
Method Summary | |
static java.lang.String |
generateTabs(int nTabSpace)
Generates tabbing space. |
static java.lang.String |
getClassName(HtmlWidget objHtmlWidget)
Gets the class name of the HtmlWidget. |
java.lang.String |
getObjectRef()
Gets a new unique object name for a temporary variable. |
java.util.Set |
getUnicodes()
Gets the set of unicode characters that need to be escaped. |
static void |
main(java.lang.String[] asOptions)
|
static void |
printUsageInfo()
|
void |
setUnicodes(java.util.Set stUnicodes)
Sets the set of unicode characters that need to be escaped. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_CHARSET
public static final int TAB_CLASS_DECL
public static final int TAB_MEMBER_DECL
public static final int TAB_CONSTRUCTOR_DECL
public static final int TAB_CONSTRUCTOR_PROPERTIES
public static final int TAB_HTMLWIDGET_INST
public static final int TAB_HTMLWIDGET_PROPERTIES
Constructor Detail |
public ObjectiveHtmlCompiler()
Method Detail |
public static void main(java.lang.String[] asOptions)
public static final void printUsageInfo()
public java.lang.String getObjectRef()
public static final java.lang.String getClassName(HtmlWidget objHtmlWidget)
objHtmlWidget
- the HtmlWidget objectpublic static final java.lang.String generateTabs(int nTabSpace)
nTabSpace
- the number of tabs to generatepublic void setUnicodes(java.util.Set stUnicodes)
stUnicodes
- the unicode characters to be escapedgetUnicodes()
public java.util.Set getUnicodes()
setUnicodes(Set)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |