|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.template.soy.javasrc.SoyJavaSrcOptions
public class SoyJavaSrcOptions
Compilation options for the Java Src output target (backend).
| Nested Class Summary | |
|---|---|
static class |
SoyJavaSrcOptions.CodeStyle
The two supported code styles. |
| Constructor Summary | |
|---|---|
SoyJavaSrcOptions()
|
|
| Method Summary | |
|---|---|
SoyJavaSrcOptions |
clone()
|
int |
getBidiGlobalDir()
Returns the static bidi global directionality, 1: ltr, -1: rtl, 0: unspecified. |
SoyJavaSrcOptions.CodeStyle |
getCodeStyle()
Returns the currently set code style. |
SoyCssRenamingMap |
getCssRenamingHints()
Returns the CSS renaming map that specifies at compile time how to rename CSS selectors. |
void |
setBidiGlobalDir(int bidiGlobalDir)
Sets the bidi global directionality to a static value, 1: ltr, -1: rtl, 0: unspecified. |
void |
setCodeStyle(SoyJavaSrcOptions.CodeStyle codeStyle)
Sets the output variable code style to use. |
void |
setCssRenamingHints(SoyCssRenamingMap cssRenamingHints)
Sets the CSS renaming map that specifies at compile time how CSS selectors should be renamed. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoyJavaSrcOptions()
| Method Detail |
|---|
public void setCodeStyle(SoyJavaSrcOptions.CodeStyle codeStyle)
codeStyle - The code style to set.public SoyJavaSrcOptions.CodeStyle getCodeStyle()
public void setBidiGlobalDir(int bidiGlobalDir)
bidiGlobalDir - 1: ltr, -1: rtl, 0: unspecified. Checks that no other value is used.public int getBidiGlobalDir()
public void setCssRenamingHints(SoyCssRenamingMap cssRenamingHints)
By default, no renaming is done. If you know that no renaming is needed, ever, use the
identity renamer.
cssRenamingHints - Returns null to indicate that a given CSS selector cannot be
renamed at compile time.public SoyCssRenamingMap getCssRenamingHints()
public SoyJavaSrcOptions clone()
clone in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||