|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Style>
se.biltmore.tools.odttoapt.maven.plugin.Style
public enum Style
This is an enum of available APT styles.
Field Summary | |
---|---|
private int |
level
The section title level |
private String |
templateStyle
The name of the style in the APT.ott template. |
private char |
type
The type of style. |
Method Summary | |
---|---|
static Style |
getByTemplate(String templateStyle)
Returns the style by the APT.ott template style name. |
int |
getSectionTitleLevel()
Returns the level of the section title. |
boolean |
isCharacter()
Returns true if the style is character type style. |
boolean |
isDocumentMetaData()
Returns true if the style is document meta data. |
boolean |
isList()
Returns true if the style is list type style. |
boolean |
isParagraph()
Returns true if the style is paragraph type style. |
boolean |
isSectionTitle()
Returns true if the style is a section title. |
static Style |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Style[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Style DocumentTitle
public static final Style DocumentAuthor
public static final Style DocumentDate
public static final Style SectionTitleL1
public static final Style SectionTitleL2
public static final Style SectionTitleL3
public static final Style SectionTitleL4
public static final Style SectionTitleL5
public static final Style Text
public static final Style Preformatted
public static final Style PreformettedBoxed
public static final Style Comment
public static final Style HorizontalRule
public static final Style Anchor
public static final Style NonBreakingSpace
public static final Style Normal
public static final Style Bold
public static final Style Italic
public static final Style Monospaced
public static final Style List
public static final Style ListNumbered
public static final Style ListLetteredUpperCase
public static final Style ListLetteredLowerCase
public static final Style ListRomanUpperCase
public static final Style ListRomanLowerCase
Field Detail |
---|
private String templateStyle
private int level
private char type
Method Detail |
---|
public static Style[] values()
for (Style c : Style.values()) System.out.println(c);
public static Style valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Style getByTemplate(String templateStyle)
templateStyle
- The APT.ott template style name to lookup.public int getSectionTitleLevel()
public boolean isSectionTitle()
public boolean isDocumentMetaData()
public boolean isParagraph()
public boolean isCharacter()
public boolean isList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |