- cdataPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant cdataPattern.
- cdataPattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant cdataPattern.
- ClosureJavaScriptCompressor - Class in com.googlecode.htmlcompressor.compressor
-
- ClosureJavaScriptCompressor() - Constructor for class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Instantiates a new closure java script compressor.
- ClosureJavaScriptCompressor(CompilationLevel) - Constructor for class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Instantiates a new closure java script compressor.
- CmdLineCompressor - Class in com.googlecode.htmlcompressor
-
Wrapper for HTML and XML compressor classes that allows using them from a command line.
- CmdLineCompressor(String[]) - Constructor for class com.googlecode.htmlcompressor.CmdLineCompressor
-
Instantiates a new cmd line compressor.
- CmdLineParser - Class in jargs.gnu
-
Largely GNU-compatible command-line options parser.
- CmdLineParser() - Constructor for class jargs.gnu.CmdLineParser
-
- CmdLineParser.IllegalOptionValueException - Exception in jargs.gnu
-
Thrown when an illegal or missing value is given by the user for an option that takes a value.
- CmdLineParser.NotFlagException - Exception in jargs.gnu
-
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more
requires a value.
- CmdLineParser.Option - Class in jargs.gnu
-
Representation of a command-line option.
- CmdLineParser.Option.BooleanOption - Class in jargs.gnu
-
The Class BooleanOption.
- CmdLineParser.Option.DoubleOption - Class in jargs.gnu
-
An option that expects a floating-point value.
- CmdLineParser.Option.IntegerOption - Class in jargs.gnu
-
An option that expects an integer value.
- CmdLineParser.Option.LongOption - Class in jargs.gnu
-
An option that expects a long integer value.
- CmdLineParser.Option.StringOption - Class in jargs.gnu
-
An option that expects a string value.
- CmdLineParser.OptionException - Exception in jargs.gnu
-
Base class for exceptions that may be thrown when options are parsed.
- CmdLineParser.UnknownOptionException - Exception in jargs.gnu
-
Thrown when the parsed command-line contains an option that is not recognised.
- CmdLineParser.UnknownSuboptionException - Exception in jargs.gnu
-
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one is
unknown.
- com.googlecode.htmlcompressor - package com.googlecode.htmlcompressor
-
HtmlCompressor Package.
- com.googlecode.htmlcompressor.analyzer - package com.googlecode.htmlcompressor.analyzer
-
Analyzer Package.
- com.googlecode.htmlcompressor.compressor - package com.googlecode.htmlcompressor.compressor
-
Compressor Package.
- com.googlecode.htmlcompressor.taglib - package com.googlecode.htmlcompressor.taglib
-
Taglib Package.
- com.googlecode.htmlcompressor.velocity - package com.googlecode.htmlcompressor.velocity
-
Velocity Package.
- commentPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant commentPattern.
- commentPattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant commentPattern.
- COMPILATION_LEVEL_ADVANCED - Static variable in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
The Constant COMPILATION_LEVEL_ADVANCED.
- COMPILATION_LEVEL_SIMPLE - Static variable in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
The Constant COMPILATION_LEVEL_SIMPLE.
- COMPILATION_LEVEL_WHITESPACE - Static variable in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
The Constant COMPILATION_LEVEL_WHITESPACE.
- compress(String) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
- compress(String) - Method in interface com.googlecode.htmlcompressor.compressor.Compressor
-
The main method that compresses the given source and returns a compressed result.
- compress(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The main method that compresses given HTML source and returns compressed result.
- compress(String) - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The main method that compresses given XML source and returns compressed result.
- compress(String) - Method in class com.googlecode.htmlcompressor.compressor.YuiCssCompressor
-
- compress(String) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
- compressCssStyles(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Compress css styles.
- compressJavaScript(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Compress java script.
- Compressor - Interface in com.googlecode.htmlcompressor.compressor
-
Interface describing compressor classes.
- condCommentPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant condCommentPattern.
- createCompressorClone() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Creates the compressor clone.
- CssCompressorDirective - Class in com.googlecode.htmlcompressor.velocity
-
Velocity directive that compresses an CSS content within #compressCss ...
- CssCompressorDirective() - Constructor for class com.googlecode.htmlcompressor.velocity.CssCompressorDirective
-
- CssCompressorTag - Class in com.googlecode.htmlcompressor.taglib
-
- CssCompressorTag() - Constructor for class com.googlecode.htmlcompressor.taglib.CssCompressorTag
-
- getCompilationLevel() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns level of optimization that is applied when compiling JavaScript code.
- getCompilerOptions() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns options that are used by the Closure compiler.
- getCompressedMetrics() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Returns metrics of a compressed document.
- getCssCompressor() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns CSS compressor implementation that will be used to compress inline CSS in HTML.
- getEmptyChars() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Returns number of empty characters (spaces, tabs, end of lines) in a document.
- getErrorReporter() - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Returns ErrorReporter
used by YUI Compressor to log error messages during JavasSript compression.
- getExterns() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns SourceFile
used as a reference during the compression at
CompilationLevel.ADVANCED_OPTIMIZATIONS
level.
- getFilesize() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Returns total filesize of a document.
- getInlineEventSize() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Returns total size of inline event handlers (onclick
, etc).
- getInlineScriptSize() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Returns total size of inline <script>
tags.
- getInlineStyleSize() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Returns total size of inline <style>
tags.
- getJavaScriptCompressor() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.
- getLineBreak() - Method in class com.googlecode.htmlcompressor.compressor.YuiCssCompressor
-
Returns number of symbols per line Yahoo YUI Compressor will use during CSS compression.
- getLineBreak() - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Returns number of symbols per line Yahoo YUI Compressor will use during JavaScript compression.
- getLoggingLevel() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns logging level used by the Closure compiler.
- getName() - Method in class com.googlecode.htmlcompressor.velocity.CssCompressorDirective
-
- getName() - Method in class com.googlecode.htmlcompressor.velocity.HtmlCompressorDirective
-
- getName() - Method in class com.googlecode.htmlcompressor.velocity.JavaScriptCompressorDirective
-
- getName() - Method in class com.googlecode.htmlcompressor.velocity.XmlCompressorDirective
-
- getOption() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
-
Gets the option.
- getOptionChar() - Method in exception jargs.gnu.CmdLineParser.NotFlagException
-
Gets the option char.
- getOptionName() - Method in exception jargs.gnu.CmdLineParser.UnknownOptionException
-
Gets the option name.
- getOptionValue(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
-
- getOptionValue(CmdLineParser.Option, Object) - Method in class jargs.gnu.CmdLineParser
-
Gets the option value.
- getOptionValues(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
-
Gets the option values.
- getOriginalMetrics() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Returns metrics of an uncompressed document.
- getPreservedSize() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Returns total size of blocks that were skipped by the compressor (for example content inside
<pre>
tags or inside <script>
tags with disabled javascript compression).
- getPreservePatterns() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns a list of Patterns defining custom preserving block rules.
- getRemainingArgs() - Method in class jargs.gnu.CmdLineParser
-
Gets the remaining args.
- getRemoveSurroundingSpaces() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns a comma separated list of tags around which spaces will be removed.
- getStatistics() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
- getSuboption() - Method in exception jargs.gnu.CmdLineParser.UnknownSuboptionException
-
Gets the suboption.
- getTime() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Returns total compression time.
- getType() - Method in class com.googlecode.htmlcompressor.velocity.CssCompressorDirective
-
- getType() - Method in class com.googlecode.htmlcompressor.velocity.HtmlCompressorDirective
-
- getType() - Method in class com.googlecode.htmlcompressor.velocity.JavaScriptCompressorDirective
-
- getType() - Method in class com.googlecode.htmlcompressor.velocity.XmlCompressorDirective
-
- getValue() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
-
Gets the value.
- getValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option
-
Gets the value.
- getWarningLevel() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns WarningLevel
used by the Closure compiler.
- getYuiCssLineBreak() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns number of symbols per line Yahoo YUI Compressor will use during CSS compression.
- getYuiErrorReporter() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns ErrorReporter
used by YUI Compressor to log error messages during JavasSript compression.
- getYuiJsLineBreak() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns number of symbols per line Yahoo YUI Compressor will use during JavaScript compression.
- IllegalOptionValueException(CmdLineParser.Option, String) - Constructor for exception jargs.gnu.CmdLineParser.IllegalOptionValueException
-
Instantiates a new illegal option value exception.
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class com.googlecode.htmlcompressor.velocity.CssCompressorDirective
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class com.googlecode.htmlcompressor.velocity.HtmlCompressorDirective
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class com.googlecode.htmlcompressor.velocity.JavaScriptCompressorDirective
-
- init(RuntimeServices, InternalContextAdapter, Node) - Method in class com.googlecode.htmlcompressor.velocity.XmlCompressorDirective
-
- initStatistics(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Inits the statistics.
- inputTypeAttrPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant inputTypeAttrPattern.
- IntegerOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
-
Instantiates a new integer option.
- IntegerOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
-
Instantiates a new integer option.
- intertagPattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant intertagPattern.
- intertagPattern_CustomCustom - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant intertagPattern_CustomCustom.
- intertagPattern_CustomTag - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant intertagPattern_CustomTag.
- intertagPattern_TagCustom - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant intertagPattern_TagCustom.
- intertagPattern_TagTag - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant intertagPattern_TagTag.
- isCompressCss() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if CSS compression is enabled.
- isCompressJavaScript() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if JavaScript compression is enabled.
- isCustomExternsOnly() - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Returns true
if default externs defined inside Closure's jar are ignored and only user defined ones
are used.
- isDisableOptimizations() - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Returns true
if Yahoo YUI Compressor will disable all the built-in micro optimizations during
JavaScript compression.
- isEnabled() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if compression is enabled.
- isEnabled() - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
Returns true
if compression is enabled.
- isGenerateStatistics() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if HTML compression statistics is generated.
- isNoMunge() - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Returns true
if Yahoo YUI Compressor will only minify javascript without obfuscating local symbols.
- isPreserveAllSemiColons() - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Returns true
if Yahoo YUI Compressor will preserve unnecessary semicolons during JavaScript
compression.
- isPreserveLineBreaks() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if line breaks will be preserved.
- isRemoveComments() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if all HTML comments will be removed.
- isRemoveComments() - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
Returns true
if all XML comments will be removed.
- isRemoveFormAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if method="get"
attributes will be removed from <form>
tags.
- isRemoveHttpProtocol() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if HTTP
protocol will be removed from href
, src
,
cite
, and action
tag attributes.
- isRemoveHttpsProtocol() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if HTTPS
protocol will be removed from href
, src
, cite
, and action
tag attributes.
- isRemoveInputAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if type="text"
attributes will be removed from <input>
tags.
- isRemoveIntertagSpaces() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if all inter-tag whitespace characters will be removed.
- isRemoveIntertagSpaces() - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
Returns true
if all inter-tag whitespace characters will be removed.
- isRemoveJavaScriptProtocol() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if javascript:
pseudo-protocol will be removed from inline event handlers.
- isRemoveLinkAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if unnecessary attributes will be removed from <link>
tags.
- isRemoveMultiSpaces() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if all multiple whitespace characters will be replaced with single spaces.
- isRemoveQuotes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if all unnecessary quotes will be removed from tag attributes.
- isRemoveScriptAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if unnecessary attributes will be removed from <script>
tags.
- isRemoveStyleAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if type="text/style"
attributes will be removed from
<style>
tags.
- isSimpleBooleanAttributes() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if boolean attributes will be simplified.
- isSimpleDoctype() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if existing DOCTYPE declaration will be replaced with simple
<!DOCTYPE html>
declaration.
- isYuiJsDisableOptimizations() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if Yahoo YUI Compressor will disable all the built-in micro optimizations during
JavaScript compression.
- isYuiJsNoMunge() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if Yahoo YUI Compressor will only minify javascript without obfuscating local symbols.
- isYuiJsPreserveAllSemiColons() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Returns true
if Yahoo YUI Compressor will preserve unnecessary semicolons during JavaScript
compression.
- scriptPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant scriptPattern.
- SERVER_SCRIPT_TAG_PATTERN - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Predefined pattern that matches <% ...
- SERVER_SIDE_INCLUDE_PATTERN - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Predefined pattern that matches <--# ...
- setClosureOptLevel(String) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
- setClosureOptLevel(String) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
- setCompilationLevel(CompilationLevel) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Sets level of optimization that should be applied when compiling JavaScript code.
- setCompilerOptions(CompilerOptions) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Sets options that will be used by the Closure compiler.
- setCompressCss(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
- setCompressCss(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the compress css.
- setCompressedMetrics(HtmlMetrics) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Sets the compressed metrics.
- setCompressJavaScript(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
- setCompressJavaScript(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the compress java script.
- setCssCompressor(Compressor) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Sets CSS compressor implementation that will be used to compress inline CSS in HTML.
- setCustomExternsOnly(boolean) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
If set to true
, default externs defined inside Closure's jar will be ignored and only user defined
ones will be used.
- setDisableOptimizations(boolean) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Tells Yahoo YUI Compressor to disable all the built-in micro optimizations during JavaScript compression.
- setEmptyChars(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Sets the empty chars.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to false
all compression will be bypassed.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
If set to false
all compression will be bypassed.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.taglib.CssCompressorTag
-
Sets the enabled.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the enabled.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets the enabled.
- setEnabled(boolean) - Method in class com.googlecode.htmlcompressor.taglib.XmlCompressorTag
-
Sets the enabled.
- setErrorReporter(ErrorReporter) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Sets ErrorReporter
that YUI Compressor will use for reporting errors during JavaScript compression.
- setExterns(List<SourceFile>) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Sets external JavaScript files that are used as a reference for function declarations if
CompilationLevel.ADVANCED_OPTIMIZATIONS
compression level is used.
- setFilesize(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Sets the filesize.
- setGenerateStatistics(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, HTML compression statistics will be generated.
- setInlineEventSize(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Sets the inline event size.
- setInlineScriptSize(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Sets the inline script size.
- setInlineStyleSize(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
Sets the inline style size.
- setJavaScriptCompressor(Compressor) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Sets JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.
- setJsCompressor(String) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.
- setJsCompressor(String) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets JavaScript compressor implementation that will be used to compress inline JavaScript in HTML.
- setLineBreak(int) - Method in class com.googlecode.htmlcompressor.compressor.YuiCssCompressor
-
Tells Yahoo YUI Compressor to break lines after the specified number of symbols during CSS compression.
- setLineBreak(int) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Tells Yahoo YUI Compressor to break lines after the specified number of symbols during JavaScript compression.
- setLoggingLevel(Level) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Sets logging level for the Closure compiler.
- setNoMunge(boolean) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Tells Yahoo YUI Compressor to only minify javascript without obfuscating local symbols.
- setOriginalMetrics(HtmlMetrics) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Sets the original metrics.
- setPreserveAllSemiColons(boolean) - Method in class com.googlecode.htmlcompressor.compressor.YuiJavaScriptCompressor
-
Tells Yahoo YUI Compressor to preserve unnecessary semicolons during JavaScript compression.
- setPreservedSize(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Sets the preserved size.
- setPreserveLineBreaks(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, line breaks will be preserved.
- setPreserveLineBreaks(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the preserve line breaks.
- setPreservePatterns(List<Pattern>) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
This method allows setting custom block preservation rules defined by regular expression patterns.
- setRemoveComments(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
all HTML comments will be removed.
- setRemoveComments(boolean) - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
If set to true
all XML comments will be removed.
- setRemoveComments(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the comments.
- setRemoveComments(boolean) - Method in class com.googlecode.htmlcompressor.taglib.XmlCompressorTag
-
Sets the removes the comments.
- setRemoveFormAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, method="get"
attributes will be removed from <form>
tags.
- setRemoveFormAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the form attributes.
- setRemoveHttpProtocol(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, HTTP
protocol will be removed from href
, src
,
cite
, and action
tag attributes.
- setRemoveHttpProtocol(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the http protocol.
- setRemoveHttpsProtocol(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, HTTPS
protocol will be removed from href
, src
, cite
, and action
tag attributes.
- setRemoveHttpsProtocol(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the https protocol.
- setRemoveInputAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, type="text"
attributes will be removed from <input>
tags.
- setRemoveInputAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the input attributes.
- setRemoveIntertagSpaces(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
all inter-tag whitespace characters will be removed.
- setRemoveIntertagSpaces(boolean) - Method in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
If set to true
all inter-tag whitespace characters will be removed.
- setRemoveIntertagSpaces(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the intertag spaces.
- setRemoveIntertagSpaces(boolean) - Method in class com.googlecode.htmlcompressor.taglib.XmlCompressorTag
-
Sets the removes the intertag spaces.
- setRemoveJavaScriptProtocol(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, javascript:
pseudo-protocol will be removed from inline event handlers.
- setRemoveJavaScriptProtocol(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the java script protocol.
- setRemoveLinkAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, following attributes will be removed from <link rel="stylesheet">
and <link rel="alternate stylesheet">
tags:
type="text/css"
type="text/plain"
- setRemoveLinkAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the link attributes.
- setRemoveMultiSpaces(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
all multiple whitespace characters will be replaced with single spaces.
- setRemoveMultiSpaces(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the multi spaces.
- setRemoveQuotes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
all unnecessary quotes will be removed from tag attributes.
- setRemoveQuotes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the quotes.
- setRemoveScriptAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, following attributes will be removed from <script>
tags:
type="text/javascript"
type="application/javascript"
language="javascript"
- setRemoveScriptAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the script attributes.
- setRemoveStyleAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, type="text/style"
attributes will be removed from
<style>
tags.
- setRemoveStyleAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the removes the style attributes.
- setRemoveSurroundingSpaces(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Enables surrounding spaces removal around provided comma separated list of tags.
- setSimpleBooleanAttributes(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, any values of following boolean attributes will be removed:
checked
selected
disabled
readonly
- setSimpleBooleanAttributes(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the simple boolean attributes.
- setSimpleDoctype(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
If set to true
, existing DOCTYPE declaration will be replaced with simple
<!DOCTYPE html>
declaration.
- setSimpleDoctype(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the simple doctype.
- setTime(long) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
Sets the time.
- setWarningLevel(WarningLevel) - Method in class com.googlecode.htmlcompressor.compressor.ClosureJavaScriptCompressor
-
Indicates the amount of information you want from the compiler about possible problems in your code.
- setYuiCssLineBreak(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Tells Yahoo YUI Compressor to break lines after the specified number of symbols during CSS compression.
- setYuiCssLineBreak(int) - Method in class com.googlecode.htmlcompressor.taglib.CssCompressorTag
-
Sets the yui css line break.
- setYuiCssLineBreak(int) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the yui css line break.
- setYuiErrorReporter(ErrorReporter) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Sets ErrorReporter
that YUI Compressor will use for reporting errors during JavaScript compression.
- setYuiJsDisableOptimizations(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Tells Yahoo YUI Compressor to disable all the built-in micro optimizations during JavaScript compression.
- setYuiJsDisableOptimizations(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the yui js disable optimizations.
- setYuiJsDisableOptimizations(boolean) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets the yui js disable optimizations.
- setYuiJsLineBreak(int) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Tells Yahoo YUI Compressor to break lines after the specified number of symbols during JavaScript compression.
- setYuiJsLineBreak(int) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the yui js line break.
- setYuiJsLineBreak(int) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets the yui js line break.
- setYuiJsNoMunge(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Tells Yahoo YUI Compressor to only minify javascript without obfuscating local symbols.
- setYuiJsNoMunge(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the yui js no munge.
- setYuiJsNoMunge(boolean) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets the yui js no munge.
- setYuiJsPreserveAllSemiColons(boolean) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Tells Yahoo YUI Compressor to preserve unnecessary semicolons during JavaScript compression.
- setYuiJsPreserveAllSemiColons(boolean) - Method in class com.googlecode.htmlcompressor.taglib.HtmlCompressorTag
-
Sets the yui js preserve all semi colons.
- setYuiJsPreserveAllSemiColons(boolean) - Method in class com.googlecode.htmlcompressor.taglib.JavaScriptCompressorTag
-
Sets the yui js preserve all semi colons.
- shortForm() - Method in class jargs.gnu.CmdLineParser.Option
-
Short form.
- simpleBooleanAttributes(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Simple boolean attributes.
- simpleDoctype(String) - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
Simple doctype.
- skipPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant skipPattern.
- StringOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
-
Instantiates a new string option.
- StringOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
-
Instantiates a new string option.
- stylePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant stylePattern.
- styleTypeAttrPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant styleTypeAttrPattern.
- surroundingSpacesAllPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant surroundingSpacesAllPattern.
- surroundingSpacesMaxPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant surroundingSpacesMaxPattern.
- surroundingSpacesMinPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant surroundingSpacesMinPattern.
- tagEndSpacePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tagEndSpacePattern.
- tagEndSpacePattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant tagEndSpacePattern.
- tagLastUnquotedValuePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tagLastUnquotedValuePattern.
- tagPropertyPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tagPropertyPattern.
- tagPropertyPattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant tagPropertyPattern.
- tagQuotePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tagQuotePattern.
- taPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant taPattern.
- TEMP_CD_DATA_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant tempCdataBlock.
- TEMP_COND_COMMENT_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempCondCommentBlock.
- TEMP_EVENT_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempEventBlock.
- TEMP_LINE_BREAK_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempLineBreakBlock.
- TEMP_PRE_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempPreBlock.
- TEMP_SCRIPT_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempScriptBlock.
- TEMP_SKIP_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempSkipBlock.
- TEMP_STYLE_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempStyleBlock.
- TEMP_TEXT_AREA_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempTextAreaBlock.
- TEMP_USER_BLOCK - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempUserBlock.
- tempCdataPattern - Static variable in class com.googlecode.htmlcompressor.compressor.XmlCompressor
-
The Constant tempCdataPattern.
- tempCondCommentPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempCondCommentPattern.
- tempEventPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempEventPattern.
- tempLineBreakPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempLineBreakPattern.
- tempPrePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempPrePattern.
- tempScriptPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempScriptPattern.
- tempSkipPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempSkipPattern.
- tempStylePattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempStylePattern.
- tempTextAreaPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant tempTextAreaPattern.
- toString() - Method in class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics
-
- toString() - Method in class com.googlecode.htmlcompressor.compressor.HtmlMetrics
-
- typeAttrPattern - Static variable in class com.googlecode.htmlcompressor.compressor.HtmlCompressor
-
The Constant typeAttrPattern.