public class CodeGenSettings extends Object
| Constructor and Description |
|---|
CodeGenSettings() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientNamePrefix() |
String |
getClientPath(String viewName) |
boolean |
getConvertLineEndings()
Gets if line endings and tabs from original document
should be normalized to their settings values
|
boolean |
getEncodeNonASCII()
Gets if characters above ASCII should always be encoded in HTML
|
String |
getIndent()
Gets the string used for source indentation
|
boolean |
getLowercaseClientPaths()
Gets if client paths and filenames are forced to lowercase
|
String |
getNewline()
Gets the string used for line endings
|
boolean |
getNormalizeWhitespace()
Gets if all whitespace literals should be normalized (replaced by single space)
|
boolean |
getScriptTypeAttr()
Gets if script tags include verbose type="text/javascript" attributes
|
String |
getServerNamePrefix() |
String |
getServerPath(String viewName,
CodeGenerator codegen) |
boolean |
hasClientNamePrefix() |
boolean |
hasServerNamePrefix() |
void |
setClientNamePrefix(String value) |
void |
setConvertLineEndings(boolean value)
Sets if line endings and tabs from original document
should be normalized to their settings values
|
void |
setEncodeNonASCII(boolean value)
Sets if characters above ASCII should always be encoded in HTML
|
void |
setIndent(String value)
Sets the string used for source indentation
|
void |
setLowercaseClientPaths(boolean value)
Sets if client paths and filenames are forced to lowercase
|
void |
setNewline(String value)
Sets the string used for line endings
|
void |
setNormalizeWhitespace(boolean value)
Sets if all whitespace literals should be normalized (replaced by single space)
|
void |
setScriptTypeAttr(boolean value)
Sets if script tags include verbose type="text/javascript" attributes
|
void |
setServerNamePrefix(String value) |
public void setClientNamePrefix(String value)
public String getClientNamePrefix()
public boolean hasClientNamePrefix()
public void setServerNamePrefix(String value)
public String getServerNamePrefix()
public boolean hasServerNamePrefix()
public String getIndent()
public void setIndent(String value)
value - public String getNewline()
public void setNewline(String value)
value - public boolean getConvertLineEndings()
public void setConvertLineEndings(boolean value)
value - public boolean getEncodeNonASCII()
public void setEncodeNonASCII(boolean value)
value - public boolean getScriptTypeAttr()
public void setScriptTypeAttr(boolean value)
value - public boolean getNormalizeWhitespace()
public void setNormalizeWhitespace(boolean value)
value - public boolean getLowercaseClientPaths()
public void setLowercaseClientPaths(boolean value)
value - public String getServerPath(String viewName, CodeGenerator codegen)
Copyright © 2014. All rights reserved.