|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MarkupSettingsMBean
Markup settings.
Method Summary | |
---|---|
boolean |
getAutomaticLinking()
If true, automatic link resolution is enabled. |
boolean |
getCompressWhitespace()
|
java.lang.String |
getDefaultAfterDisabledLink()
|
java.lang.String |
getDefaultBeforeDisabledLink()
|
java.lang.String |
getDefaultMarkupEncoding()
|
java.lang.String |
getMarkupParserFactory()
|
boolean |
getStripComments()
|
boolean |
getStripWicketTags()
Gets whether to remove wicket tags from the output. |
boolean |
getStripXmlDeclarationFromOutput()
|
void |
setAutomaticLinking(boolean automaticLinking)
Application default for automatic link resolution. |
void |
setCompressWhitespace(boolean compressWhitespace)
Turns on whitespace compression. |
void |
setDefaultAfterDisabledLink(java.lang.String defaultAfterDisabledLink)
|
void |
setDefaultBeforeDisabledLink(java.lang.String defaultBeforeDisabledLink)
|
void |
setDefaultMarkupEncoding(java.lang.String encoding)
Set default encoding for markup files. |
void |
setStripComments(boolean stripComments)
Enables stripping of markup comments denoted in markup by HTML comment tagging. |
void |
setStripWicketTags(boolean stripWicketTags)
Sets whether to remove wicket tags from the output. |
void |
setStripXmlDeclarationFromOutput(boolean strip)
|
Method Detail |
---|
boolean getAutomaticLinking()
AutoLinkResolver
,
WicketLinkTagHandler
boolean getCompressWhitespace()
IMarkupSettings.setCompressWhitespace(boolean)
java.lang.String getDefaultAfterDisabledLink()
java.lang.String getDefaultBeforeDisabledLink()
java.lang.String getDefaultMarkupEncoding()
java.lang.String getMarkupParserFactory()
boolean getStripComments()
IMarkupSettings.setStripComments(boolean)
boolean getStripWicketTags()
boolean getStripXmlDeclarationFromOutput()
void setAutomaticLinking(boolean automaticLinking)
automaticLinking
- The automaticLinking to set.and
,
for more details.
void setCompressWhitespace(boolean compressWhitespace)
Compression is currently not HTML aware and so it may be possible for whitespace compression to break pages. For this reason, whitespace compression is off by default and you should test your application throroughly after turning whitespace compression on.
Spaces are removed from markup at markup load time and there should be no effect on page rendering speed. In fact, your pages should render faster with whitespace compression enabled.
compressWhitespace
- The compressWhitespace to set.void setDefaultAfterDisabledLink(java.lang.String defaultAfterDisabledLink)
defaultAfterDisabledLink
- The defaultAfterDisabledLink to set.void setDefaultBeforeDisabledLink(java.lang.String defaultBeforeDisabledLink)
defaultBeforeDisabledLink
- The defaultBeforeDisabledLink to set.void setDefaultMarkupEncoding(java.lang.String encoding)
encoding
- void setStripComments(boolean stripComments)
stripComments
- True to strip markup comments from rendered pagesvoid setStripWicketTags(boolean stripWicketTags)
stripWicketTags
- whether to remove wicket tags from the outputvoid setStripXmlDeclarationFromOutput(boolean strip)
strip
- if true, xml declaration will be stripped from output
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |