|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<XSLTProperty>
org.crosswire.bibledesktop.desktop.XSLTProperty
public enum XSLTProperty
Defines properties that control the behavior of translating OSIS to HTML.
for license details.
The copyright to this program is held by it's authors.
Enum Constant Summary | |
---|---|
BASE_URL
What is the base of the current document. |
|
BCV
Show book, chapter and verse numbers. |
|
CSS
What is the base of the current document. |
|
CV
Show chapter and verse numbers. |
|
DIRECTION
Is the dominant language direction LtoR or RtoL. |
|
FONT
What is the base of the current document. |
|
HEADINGS
Should headings be shown |
|
MORPH
Determines whether Word Morphology (e.g. |
|
NO_VERSE_NUMBERS
Show no verse numbers |
|
NOTES
Should notes be shown |
|
START_VERSE_ON_NEWLINE
Determines whether verses should start on a new line. |
|
STRONGS_NUMBERS
Determines whether Strong's Numbers should show |
|
TINY_VERSE_NUMBERS
Show verse numbers as a superscript. |
|
VARIANT
What variant should be shown, default is "1". |
|
VERSE_NUMBERS
Show verse numbers |
|
XREF
Should cross references be shown |
Field Summary | |
---|---|
private boolean |
asURL
Whether the string state should be converted to an URL when setting the property. |
private String |
defaultState
The default state of the XSLTProperty |
private String |
name
The name of the XSLTProperty |
private String |
state
The current state of the XSLTProperty |
Method Summary | |
---|---|
static XSLTProperty |
fromInteger(int i)
Lookup method to convert from an integer |
static XSLTProperty |
fromString(String name)
Lookup method to convert from a String |
boolean |
getDefaultState()
|
String |
getDefaultStringState()
|
String |
getName()
|
boolean |
getState()
|
String |
getStringState()
|
static void |
setProperties(TransformingSAXEventProvider provider)
|
void |
setProperty(TransformingSAXEventProvider provider)
|
void |
setState(boolean newState)
|
void |
setState(String newState)
|
String |
toString()
|
static XSLTProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static XSLTProperty[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XSLTProperty STRONGS_NUMBERS
public static final XSLTProperty MORPH
public static final XSLTProperty START_VERSE_ON_NEWLINE
public static final XSLTProperty VERSE_NUMBERS
public static final XSLTProperty CV
public static final XSLTProperty BCV
public static final XSLTProperty NO_VERSE_NUMBERS
public static final XSLTProperty TINY_VERSE_NUMBERS
public static final XSLTProperty HEADINGS
public static final XSLTProperty NOTES
public static final XSLTProperty XREF
public static final XSLTProperty BASE_URL
public static final XSLTProperty DIRECTION
public static final XSLTProperty FONT
public static final XSLTProperty CSS
public static final XSLTProperty VARIANT
Field Detail |
---|
private String name
private String defaultState
private String state
private boolean asURL
Method Detail |
---|
public static XSLTProperty[] values()
for (XSLTProperty c : XSLTProperty.values()) System.out.println(c);
public static XSLTProperty 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 String getName()
public boolean getDefaultState()
public String getDefaultStringState()
public boolean getState()
public String getStringState()
public void setState(boolean newState)
public void setState(String newState)
public void setProperty(TransformingSAXEventProvider provider)
public static void setProperties(TransformingSAXEventProvider provider)
public static XSLTProperty fromString(String name)
public static XSLTProperty fromInteger(int i)
public String toString()
toString
in class Enum<XSLTProperty>
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |