Package org.docx4j.toc.switches
Class NSwitch
java.lang.Object
org.docx4j.toc.switches.AbstractSwitch
org.docx4j.toc.switches.NSwitch
- All Implemented Interfaces:
SwitchInterface
public class NSwitch extends AbstractSwitch
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIDFields inherited from class org.docx4j.toc.switches.AbstractSwitch
EMPTY, ERROR_NOT_VALID_HEADING_LEVEL -
Constructor Summary
Constructors Constructor Description NSwitch() -
Method Summary
Modifier and Type Method Description intgetPriority()booleanhasFieldArgument()booleanpageNumbers()java.lang.StringparseFieldArgument(java.lang.String fieldArgument)voidprocess(Style s, SwitchProcessor sp)Methods inherited from class org.docx4j.toc.switches.AbstractSwitch
getEndLevel, getStartLevel, getStyleLevelMap, isStyleSwitch
-
Field Details
-
ID
public static final java.lang.String ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
NSwitch
public NSwitch()
-
-
Method Details
-
hasFieldArgument
public boolean hasFieldArgument() -
process
-
parseFieldArgument
public java.lang.String parseFieldArgument(java.lang.String fieldArgument)- Specified by:
parseFieldArgumentin interfaceSwitchInterface- Overrides:
parseFieldArgumentin classAbstractSwitch
-
pageNumbers
public boolean pageNumbers() -
getPriority
public int getPriority()
-