com.sun.faces.generate
Class HtmlComponentGenerator
java.lang.Object
com.sun.faces.generate.AbstractGenerator
com.sun.faces.generate.HtmlComponentGenerator
- All Implemented Interfaces:
- Generator
public class HtmlComponentGenerator
- extends AbstractGenerator
Generate concrete HTML component classes. Classes will be generated for
each <component>
element in the specified configuration
file whose absolute class name is in package javax.faces.component.html
.
This application requires the following command line options:
- --config Absolute pathname to an input configuration
file that will be parsed by the
parse()
method.
- --copyright Absolute pathname to a file containing the
copyright material for the top of each Java source file.
- --dir Absolute pathname to the directory into which
generated Java source code will be created.
- --dtd
Pipe delimited list of public identifiers and absolute pathnames to files
containing the DTDs used to validate the input configuration files.
PRECONDITION: The list is the sequence: |||...
Method Summary |
void |
generate(FacesConfigBean configBean)
Generate the concrete HTML component class based on the current
component configuration bean. |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlComponentGenerator
public HtmlComponentGenerator(PropertyManager propManager)
generate
public void generate(FacesConfigBean configBean)
Generate the concrete HTML component class based on the current
component configuration bean.
- Parameters:
configBean
- model data
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.