|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.RichFacesConventions
public final class RichFacesConventions
| Constructor Summary | |
|---|---|
RichFacesConventions()
|
|
| Method Summary | |
|---|---|
protected String |
getBaseName()
|
ClassName |
inferBehaviorClass(FacesId id)
Infer name for generated behavior class by type |
FacesId |
inferBehaviorType(ClassName targetClass)
Infer behavior type by class name |
FacesId |
inferComponentType(ClassName componentClass)
Calculates component type from class name. |
ClassName |
inferRendererClass(FacesId id)
Infer Java class name by renderer type. |
FacesId |
inferRendererFamily(FacesId type)
Infer renderer family by renderer type |
FacesId |
inferRendererType(ClassName targetClass)
Determine renderer type by Java class |
FacesId |
inferRendererType(FacesId id)
Infer renderer type by component type or family. |
FacesId |
inferRendererTypeByTemplatePath(String templateName)
Infer renderer type from template file path |
ClassName |
inferTagHandlerClass(FacesId componentType,
String markup)
|
String |
inferTaglibName(String uri)
Infer short taglib name from URI |
String |
inferTaglibUri(ComponentLibrary library)
Determine default taglib uri from library model. |
String |
inferTagName(FacesId componentType)
Infer VDL tag name by component type |
ClassName |
inferUIComponentClass(FacesId componentType)
Calculates concrete component class from explicit value or type. |
FacesId |
inferUIComponentFamily(FacesId componentType)
Infer component family by component type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RichFacesConventions()
| Method Detail |
|---|
public FacesId inferComponentType(ClassName componentClass)
throws InvalidNameException
NamingConventionsCalculates component type from class name.
<prefix>.component.Abstract<Name> =><prefix>.<Name><prefix>.component.<Name>Base => <prefix>.<Name><prefix>.component.UI<Name> => <prefix>.<Name>
inferComponentType in interface NamingConventionsInvalidNameException - if className does not match naming conventions.
public ClassName inferUIComponentClass(FacesId componentType)
throws InvalidNameException
NamingConventionsCalculates concrete component class from explicit value or type.
<prefix>.<Name> =>
<prefix>.component.UI<Name> .
inferUIComponentClass in interface NamingConventionscomponentType - JSF component type.
InvalidNameException - if component type does not follow naming conventions.public FacesId inferUIComponentFamily(FacesId componentType)
NamingConventionsInfer component family by component type
inferUIComponentFamily in interface NamingConventions
public ClassName inferTagHandlerClass(FacesId componentType,
String markup)
NamingConventions
inferTagHandlerClass in interface NamingConventionspublic String inferTagName(FacesId componentType)
NamingConventionsInfer VDL tag name by component type
inferTagName in interface NamingConventionsprotected String getBaseName()
public FacesId inferRendererTypeByTemplatePath(String templateName)
NamingConventionsInfer renderer type from template file path
inferRendererTypeByTemplatePath in interface NamingConventionspublic ClassName inferBehaviorClass(FacesId id)
NamingConventionsInfer name for generated behavior class by type
inferBehaviorClass in interface NamingConventionspublic FacesId inferBehaviorType(ClassName targetClass)
NamingConventionsInfer behavior type by class name
inferBehaviorType in interface NamingConventions
public String inferTaglibName(String uri)
throws InvalidNameException
NamingConventionsInfer short taglib name from URI
inferTaglibName in interface NamingConventionsInvalidNameExceptionpublic String inferTaglibUri(ComponentLibrary library)
NamingConventionsDetermine default taglib uri from library model.
inferTaglibUri in interface NamingConventionspublic ClassName inferRendererClass(FacesId id)
NamingConventionsInfer Java class name by renderer type.
inferRendererClass in interface NamingConventionspublic FacesId inferRendererFamily(FacesId type)
NamingConventionsInfer renderer family by renderer type
inferRendererFamily in interface NamingConventionspublic FacesId inferRendererType(ClassName targetClass)
NamingConventionsDetermine renderer type by Java class
inferRendererType in interface NamingConventionspublic FacesId inferRendererType(FacesId id)
NamingConventionsInfer renderer type by component type or family.
inferRendererType in interface NamingConventions
|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||