|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.generate.PropertyManager
public class PropertyManager
This class manages properties common to jsf-tools
generators.
Field Summary | |
---|---|
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_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. |
Method Summary | |
---|---|
String |
getProperty(String propertyName)
Return the property specified by propertyName . |
static PropertyManager |
newInstance(String propertyFile)
Obtain a new PropertyManager instance backed by the
properies contained in the specified file. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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_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 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.
Method Detail |
---|
public static PropertyManager newInstance(String propertyFile)
Obtain a new PropertyManager
instance backed by the
properies contained in the specified file.
propertyFile
- - property file
PropertyManager
instancepublic String getProperty(String propertyName)
Return the property specified by propertyName
.
propertyName
- - the property name
null
if no value
is defined
IllegalArgumentException
- of propertyName
isn't
a known property
IllegalStateException
- if propertyName
illegally
has no valuepublic String toString()
toString
in class Object
|
Mojarra JSF Tools 2.1.28.SP9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |