Package com.helger.html.hc
Interface IHCConversionSettings
-
- All Superinterfaces:
com.helger.commons.lang.ICloneable<IHCConversionSettings>,IHCConversionSettingsToNode
- All Known Implementing Classes:
HCConversionSettings
public interface IHCConversionSettings extends IHCConversionSettingsToNode, com.helger.commons.lang.ICloneable<IHCConversionSettings>
Settings interface that is used to convert HC* nodes to micro nodes, to plain text and for consistency checks.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IHCConversionSettingsgetClone(EHTMLVersion eHTMLVersion)Get a clone of this settings, but with a different HTML version.IHCConversionSettingsgetCloneIfNecessary(EHTMLVersion eHTMLVersion)Get a clone of this settings, but with a different HTML version.-
Methods inherited from interface com.helger.html.hc.IHCConversionSettingsToNode
areConsistencyChecksEnabled, getCharset, getCSSWriterSettings, getCustomizer, getHTMLNamespaceURI, getHTMLVersion, getJSWriterSettings, getMutableCSSWriterSettings, getMutableJSWriterSettings, getMutableXMLWriterSettings, getXMLWriterSettings, isExtractOutOfBandNodes
-
-
-
-
Method Detail
-
getClone
@Nonnull @ReturnsMutableCopy IHCConversionSettings getClone(@Nonnull EHTMLVersion eHTMLVersion)
Get a clone of this settings, but with a different HTML version.- Parameters:
eHTMLVersion- The new HTML version to use. May not benull.- Returns:
- Never
null.
-
getCloneIfNecessary
@Nonnull IHCConversionSettings getCloneIfNecessary(@Nonnull EHTMLVersion eHTMLVersion)
Get a clone of this settings, but with a different HTML version. If the passed HTML version equals this HTML version than this is returned unchanged.- Parameters:
eHTMLVersion- The new HTML version to use. May not benull.- Returns:
- this or a clone of this.
-
-