public enum StyleDeclarationInterpretation extends Enum<StyleDeclarationInterpretation> implements Interpretation
Commands and
Environments having this interpretation are removed from the parse tree
by the StyleEvaluator, so these are somewhat transient.Interpretation.MarkerInterpretation| Enum Constant and Description |
|---|
BF |
EM |
FOOTNOTESIZE |
HUGE |
HUGE_2 |
IT |
LARGE |
LARGE_2 |
LARGE_3 |
NORMALSIZE |
RM |
SC |
SCRIPTSIZE |
SF |
SL |
SMALL |
TINY |
TT |
LIST, STYLE_SENTINEL, TABULAR| Modifier and Type | Method and Description |
|---|---|
ComputedStyle.FontFamily |
getFontFamily() |
ComputedStyle.FontSize |
getFontSize() |
InterpretationType |
getType() |
static StyleDeclarationInterpretation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleDeclarationInterpretation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleDeclarationInterpretation BF
public static final StyleDeclarationInterpretation RM
public static final StyleDeclarationInterpretation EM
public static final StyleDeclarationInterpretation IT
public static final StyleDeclarationInterpretation TT
public static final StyleDeclarationInterpretation SC
public static final StyleDeclarationInterpretation SL
public static final StyleDeclarationInterpretation SF
public static final StyleDeclarationInterpretation TINY
public static final StyleDeclarationInterpretation SCRIPTSIZE
public static final StyleDeclarationInterpretation FOOTNOTESIZE
public static final StyleDeclarationInterpretation SMALL
public static final StyleDeclarationInterpretation NORMALSIZE
public static final StyleDeclarationInterpretation LARGE
public static final StyleDeclarationInterpretation LARGE_2
public static final StyleDeclarationInterpretation LARGE_3
public static final StyleDeclarationInterpretation HUGE
public static final StyleDeclarationInterpretation HUGE_2
public static StyleDeclarationInterpretation[] values()
for (StyleDeclarationInterpretation c : StyleDeclarationInterpretation.values()) System.out.println(c);
public static StyleDeclarationInterpretation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ComputedStyle.FontFamily getFontFamily()
public ComputedStyle.FontSize getFontSize()
public InterpretationType getType()
getType in interface InterpretationCopyright © 2008–2026 The University of Edinburgh. All rights reserved.