public interface MarkupSettingsMBean
Modifier and Type | Method and Description |
---|---|
boolean |
getAutomaticLinking()
If true, automatic link resolution is enabled.
|
boolean |
getCompressWhitespace() |
String |
getDefaultMarkupEncoding() |
boolean |
getStripComments() |
boolean |
getStripWicketTags()
Gets whether to remove wicket tags from the output.
|
void |
setAutomaticLinking(boolean automaticLinking)
Application default for automatic link resolution.
|
void |
setCompressWhitespace(boolean compressWhitespace)
Turns on whitespace compression.
|
void |
setDefaultMarkupEncoding(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.
|
boolean getAutomaticLinking()
AutoLinkResolver
,
WicketLinkTagHandler
boolean getCompressWhitespace()
MarkupSettings.setCompressWhitespace(boolean)
String getDefaultMarkupEncoding()
boolean getStripComments()
MarkupSettings.setStripComments(boolean)
boolean getStripWicketTags()
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 setDefaultMarkupEncoding(String encoding) throws UnsupportedEncodingException
encoding
- UnsupportedEncodingException
- if encoding is not supportedvoid setStripComments(boolean stripComments)
stripComments
- True to strip markup comments from rendered pagesvoid setStripWicketTags(boolean stripWicketTags)
stripWicketTags
- whether to remove wicket tags from the outputCopyright © 2006–2022 Apache Software Foundation. All rights reserved.