Enum Class XMLFormattingOptions.EmptyElements

java.lang.Object
java.lang.Enum<XMLFormattingOptions.EmptyElements>
org.eclipse.lemminx.settings.XMLFormattingOptions.EmptyElements
All Implemented Interfaces:
Serializable, Comparable<XMLFormattingOptions.EmptyElements>, java.lang.constant.Constable
Enclosing class:
XMLFormattingOptions

public static enum XMLFormattingOptions.EmptyElements extends Enum<XMLFormattingOptions.EmptyElements>
Options for formatting empty elements.
  • expand : expand empty elements. With this option the following XML:
     
     <example />
     
     
    will be formatted to :
     
     <example><example>
     
     
  • collapse : collapse empty elements. With this option the following XML:
     
     <example></example>
     
     
    will be formatted to :
     
     <example />
     
     
  • ignore : keeps the original XML content for empty elements.