public static enum Caption.CaptionKind extends java.lang.Enum<Caption.CaptionKind>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPreferredLabel() |
Style |
getStyle() |
static boolean |
looksLikeFigureCaption(java.lang.String styleName,
java.lang.String text) |
static boolean |
looksLikeTableCaption(java.lang.String styleName,
java.lang.String text) |
static Caption.CaptionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Caption.CaptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Caption.CaptionKind Figure
public static final Caption.CaptionKind Table
public static Caption.CaptionKind[] values()
for (Caption.CaptionKind c : Caption.CaptionKind.values()) System.out.println(c);
public static Caption.CaptionKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Style getStyle()
public static boolean looksLikeTableCaption(java.lang.String styleName, java.lang.String text)
public static boolean looksLikeFigureCaption(java.lang.String styleName, java.lang.String text)
public java.lang.String getPreferredLabel()
Copyright 2009-2016 Tatjana (Tanja) Kostic