@Deprecated public class XmlExtension extends FormatExtension implements HasBuiltinDelimiterForLicense
The XML extension is deprecated. Use the generic FormatExtension instead.
| Modifier and Type | Class and Description |
|---|---|
class |
XmlExtension.EclipseConfig
Deprecated.
|
FormatExtension.EclipseWtpConfig, FormatExtension.LicenseHeaderConfig, FormatExtension.NpmStepConfig<T extends FormatExtension.NpmStepConfig<?>>, FormatExtension.PrettierConfigsteps, target, targetExclude| Constructor and Description |
|---|
XmlExtension(SpotlessExtensionBase spotless)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
XmlExtension.EclipseConfig |
eclipse()
Deprecated.
|
XmlExtension.EclipseConfig |
eclipse(String version)
Deprecated.
|
FormatExtension.LicenseHeaderConfig |
licenseHeader(String licenseHeader)
Deprecated.
|
FormatExtension.LicenseHeaderConfig |
licenseHeaderFile(Object licenseHeaderFile)
Deprecated.
|
protected void |
setupTask(SpotlessTask task)
Deprecated.
Sets up a format task according to the values in this extension.
|
addStep, bumpThisNumberIfACustomStepChanges, clearSteps, createIndependentApplyTask, custom, custom, customLazy, customLazyGroovy, eclipseWtp, eclipseWtp, encoding, endWithNewline, getEncoding, getExistingStep, getExistingStepIdx, getLineEndings, getProject, getRatchetFrom, ignoreErrorForPath, ignoreErrorForStep, indentWithSpaces, indentWithSpaces, indentWithTabs, indentWithTabs, licenseHeader, licenseHeaderFile, paddedCell, paddedCell, parseTarget, prettier, prettier, prettier, provisioner, ratchetFrom, replace, replaceRegex, replaceStep, setEncoding, setEncoding, setLineEndings, setRatchetFrom, target, targetExclude, trimTrailingWhitespacepublic XmlExtension(SpotlessExtensionBase spotless)
public XmlExtension.EclipseConfig eclipse()
public XmlExtension.EclipseConfig eclipse(String version)
protected void setupTask(SpotlessTask task)
FormatExtensionSets up a format task according to the values in this extension.
setupTask in class FormatExtensionpublic FormatExtension.LicenseHeaderConfig licenseHeader(String licenseHeader)
licenseHeader in interface HasBuiltinDelimiterForLicenselicenseHeader - Content that should be at the top of every file.public FormatExtension.LicenseHeaderConfig licenseHeaderFile(Object licenseHeaderFile)
licenseHeaderFile in interface HasBuiltinDelimiterForLicenselicenseHeaderFile - Content that should be at the top of every file.