Class AbstractSwitch

java.lang.Object
org.docx4j.toc.switches.AbstractSwitch
All Implemented Interfaces:
SwitchInterface
Direct Known Subclasses:
HSwitch, NSwitch, OSwitch, TSwitch, USwitch

public abstract class AbstractSwitch
extends java.lang.Object
implements SwitchInterface
  • Field Details

    • EMPTY

      public static final java.lang.String EMPTY
      See Also:
      Constant Field Values
    • ERROR_NOT_VALID_HEADING_LEVEL

      public static final java.lang.String ERROR_NOT_VALID_HEADING_LEVEL
      See Also:
      Constant Field Values
  • Constructor Details

    • AbstractSwitch

      public AbstractSwitch()
  • Method Details

    • parseFieldArgument

      public java.lang.String parseFieldArgument​(java.lang.String fieldArgument)
      Specified by:
      parseFieldArgument in interface SwitchInterface
    • isStyleSwitch

      public boolean isStyleSwitch()
      Specified by:
      isStyleSwitch in interface SwitchInterface
    • getStartLevel

      public int getStartLevel()
    • getEndLevel

      public int getEndLevel()
    • getStyleLevelMap

      public java.util.Map<java.lang.String,​java.lang.Integer> getStyleLevelMap()