public class PropertyManager extends Object
This class manages properties common to jsf-tools
generators.
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_OUTPUT_DIR
The base directory in which all generated files are written to.
|
static String |
COPYRIGHT
A copyright to be included at the beginning of any generated file
(may be
null). |
static String |
JSP_VERSION_PROPERTY
The minimum required version of JSP.
|
static String |
RENDERKIT_ID
The ID of the
RenderKit for which the generation is
being performed. |
static String |
TAGLIB_DESCRIPTION
The description of the tag library (may be
null). |
static String |
TAGLIB_DISPLAY_NAME
The display-name of the generated tag library.
|
static String |
TAGLIB_EXCLUDED_RENDERER_TYPES
A comma separated list of renderer-types that must be excluded
from taglib generation.
|
static String |
TAGLIB_FILE_NAME
The file name of the generated tag library descriptor.
|
static String |
TAGLIB_INCLUDE
The filename of a file to be included as part of the tag
library generation process (may be
null). |
static String |
TAGLIB_SHORT_NAME
The short-name of the generated tag library.
|
static String |
TAGLIB_URI
The URI by which the tag library will be known by.
|
static String |
TARGET_PACKAGE
The target package for any generated code.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String propertyName)
Return the property specified by
propertyName. |
boolean |
isExcludeRenderer(String rendererType) |
static PropertyManager |
newInstance(String propertyFile)
Obtain a new
PropertyManager instance backed by the
properies contained in the specified file. |
String |
toString() |
public static final String JSP_VERSION_PROPERTY
The minimum required version of JSP.
public static final String TAGLIB_SHORT_NAME
The short-name of the generated tag library.
public static final String TAGLIB_DISPLAY_NAME
The display-name of the generated tag library.
public static final String TAGLIB_URI
The URI by which the tag library will be known by.
public static final String TAGLIB_DESCRIPTION
The description of the tag library (may be null).
public static final String TAGLIB_FILE_NAME
The file name of the generated tag library descriptor.
public static final String TAGLIB_INCLUDE
The filename of a file to be included as part of the tag
library generation process (may be null).
public static final String TAGLIB_EXCLUDED_RENDERER_TYPES
A comma separated list of renderer-types that must be excluded from taglib generation.
public static final String COPYRIGHT
A copyright to be included at the beginning of any generated file
(may be null).
public static final String RENDERKIT_ID
The ID of the RenderKit for which the generation is
being performed.
public static final String TARGET_PACKAGE
The target package for any generated code.
public static final String BASE_OUTPUT_DIR
The base directory in which all generated files are written to.
public static PropertyManager newInstance(String propertyFile)
Obtain a new PropertyManager instance backed by the
properies contained in the specified file.
propertyFile - - property filePropertyManager instancepublic String getProperty(String propertyName)
Return the property specified by propertyName.
propertyName - - the property namenull if no value
is definedIllegalArgumentException - of propertyName isn't
a known propertyIllegalStateException - if propertyName illegally
has no valuepublic boolean isExcludeRenderer(String rendererType)
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.