|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.editor.controller.options.OptionItems
public class OptionItems
The OptionItems
class contains variables defining all options used in the
application.
Field Summary | |
---|---|
static java.lang.Boolean |
ADD_FO_NAMESPACE
The flag specifying if the FO namespace definition is added to every new stylesheet file |
static java.lang.String |
APPLICATION_VERSION
The version of the application |
static java.lang.String |
BATCH_FILE
The batch file path |
static java.lang.String |
ENCODING
The actual editor encoding |
static java.lang.Boolean |
ERASE_CONSOLE
The flag specifying if the editor console is erased before every action |
static java.lang.String |
FO_NAMESPACE
The stylesheet FO namespace |
static java.lang.Boolean |
GENERATE_COMMENTS
The flag specifying if the comments in stylesheets are generated |
static java.lang.String |
IMPORT_FILE
The list specifying XSL stylesheet files imported to a new stylesheet file |
static java.lang.String |
KEY_ADD_FO_NAMESPACE
The property key of the flag specifying if the FO namespace definition is added to every new stylesheet file |
static java.lang.String |
KEY_BATCH_FILE
The property key of batch file path |
static java.lang.String |
KEY_ENCODING
The property key of the actual editor encoding |
static java.lang.String |
KEY_ERASE_CONSOLE
The property key of the flag specifying if the editor console is erased before every action |
static java.lang.String |
KEY_GENERATE_COMMENTS
The property key of the flag specifying if the comments in stylesheets are generated |
static java.lang.String |
KEY_IMPORT_FILE
The property key of the list specifying XSL stylesheet files imported to a new stylesheet file |
static java.lang.String |
KEY_LANGUAGE
The property key of the language used in the editor |
static java.lang.String |
KEY_NEWLINE
The property key of the actual stylesheet end of line |
static java.lang.String |
KEY_REARRANGE_SAVE
The property key of the flag specifying if the rearrange stylesheet saving is used |
static java.lang.String |
KEY_SAVE_BEFORE_RUN
The property key of flag specifying if the opened stylesheet is automatically saved before launching batch file |
static java.lang.String |
KEY_STYLESHEET_VERSION
The property key of stylesheet version |
static java.lang.String |
KEY_USE_PARAM_SELECT
The property key of the flag specifying if attribute select is used in the stylesheet parameter element |
static java.lang.String |
KEY_XML_DEFINITION_PATH
The property key of the path where files with XML descriptions of FO parameters are stored |
static java.util.Locale |
LANGUAGE
The language used in the editor |
static NewlineEnum |
NEWLINE
The actual stylesheet end of line |
static java.lang.String |
OPTION_PATH
The configuration file where options of the application are stored |
static java.lang.Boolean |
REARRANGE_SAVE
The flag specifying if the rearrange stylesheet saving is used |
static java.lang.Boolean |
SAVE_BEFORE_RUN
The flag specifying if the opened stylesheet is automatically saved before launching batch file |
static java.lang.String |
STYLESHEET_VERSION
The stylesheet version |
static java.lang.Boolean |
USE_PARAM_SELECT
The flag specifying if attribute select is used in the stylesheet parameter element |
static java.lang.String |
XML_DEFINITION_PATH
The path where files with XML descriptions of FO parameters are stored |
static java.lang.String |
XSL_NAMESPACE
The stylesheet XSL namespace |
Constructor Summary | |
---|---|
OptionItems()
|
Method Summary | |
---|---|
static void |
changeLanguage(java.util.Locale language)
Changes language used in the editor by the input language locale, if the language locale is supported by the editor. |
static java.util.Properties |
getDefaultBatchSettings(java.util.Properties defaultSettings)
Fills application properties property by default other values. |
static java.util.Properties |
getDefaultEditorSettings(java.util.Properties defaultSettings)
Fills application properties property by default option values. |
static java.util.Properties |
getDefaultStylesheetSettings(java.util.Properties defaultSettings)
Fills application properties property by default option values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPTION_PATH
public static final java.lang.String APPLICATION_VERSION
public static final java.lang.String XSL_NAMESPACE
public static final java.lang.String FO_NAMESPACE
public static final java.lang.String KEY_LANGUAGE
public static java.util.Locale LANGUAGE
public static final java.lang.String KEY_XML_DEFINITION_PATH
public static java.lang.String XML_DEFINITION_PATH
public static final java.lang.String KEY_ERASE_CONSOLE
public static java.lang.Boolean ERASE_CONSOLE
public static final java.lang.String KEY_ADD_FO_NAMESPACE
public static java.lang.Boolean ADD_FO_NAMESPACE
public static final java.lang.String KEY_REARRANGE_SAVE
public static java.lang.Boolean REARRANGE_SAVE
public static final java.lang.String KEY_GENERATE_COMMENTS
public static java.lang.Boolean GENERATE_COMMENTS
public static final java.lang.String KEY_USE_PARAM_SELECT
public static java.lang.Boolean USE_PARAM_SELECT
public static final java.lang.String KEY_ENCODING
public static java.lang.String ENCODING
public static final java.lang.String KEY_NEWLINE
public static NewlineEnum NEWLINE
public static final java.lang.String KEY_IMPORT_FILE
public static java.lang.String IMPORT_FILE
public static final java.lang.String KEY_STYLESHEET_VERSION
public static java.lang.String STYLESHEET_VERSION
public static final java.lang.String KEY_BATCH_FILE
public static java.lang.String BATCH_FILE
public static final java.lang.String KEY_SAVE_BEFORE_RUN
public static java.lang.Boolean SAVE_BEFORE_RUN
Constructor Detail |
---|
public OptionItems()
Method Detail |
---|
public static void changeLanguage(java.util.Locale language)
language
- the locale of the language that will be set as current editor language.public static java.util.Properties getDefaultEditorSettings(java.util.Properties defaultSettings)
property
by default option values. Maps only
variables specifying editor options (LANGUAGE
,
XML_DEFINITION_PATH
, ERASE_CONSOLE
).
defaultSettings
- the properties storing options of the application.
public static java.util.Properties getDefaultStylesheetSettings(java.util.Properties defaultSettings)
property
by default option values. Maps only
variables specifying stylesheet options (ADD_FO_NAMESPACE
,
REARRANGE_SAVE
, GENERATE_COMMENTS
,
USE_PARAM_SELECT
, ENCODING
, NEWLINE
,
STYLESHEET_VERSION
, IMPORT_FILE
).
defaultSettings
- the properties storing options of the application.
public static java.util.Properties getDefaultBatchSettings(java.util.Properties defaultSettings)
property
by default other values. Maps only
variables specifying batch options (BATCH_FILE
, SAVE_BEFORE_RUN
).
defaultSettings
- the properties storing options of the application.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |