|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamingConventions
That interface defines methods that calculates names according to CDK naming conventions>
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
FacesId inferComponentType(ClassName componentClass)
throws InvalidNameException
Calculates component type from class name.
<prefix>.component.Abstract<Name> =><prefix>.<Name><prefix>.component.<Name>Base => <prefix>.<Name><prefix>.component.UI<Name> => <prefix>.<Name>
componentClass -
InvalidNameException - if className does not match naming conventions.
ClassName inferUIComponentClass(FacesId componentType)
throws InvalidNameException
Calculates concrete component class from explicit value or type.
<prefix>.<Name> =>
<prefix>.component.UI<Name> .
componentType - JSF component type.
InvalidNameException - if component type does not follow naming conventions.
FacesId inferUIComponentFamily(FacesId componentType)
throws InvalidNameException
Infer component family by component type
componentType -
InvalidNameException
ClassName inferTagHandlerClass(FacesId componentType,
String markup)
throws InvalidNameException
componentType - markup -
InvalidNameException
String inferTagName(FacesId componentType)
throws InvalidNameException
Infer VDL tag name by component type
componentType -
InvalidNameExceptionFacesId inferRendererType(ClassName targetClass)
Determine renderer type by Java class
targetClass -
FacesId inferRendererFamily(FacesId type)
Infer renderer family by renderer type
type -
FacesId inferRendererTypeByTemplatePath(String templateName)
Infer renderer type from template file path
templateName -
ClassName inferRendererClass(FacesId id)
Infer Java class name by renderer type.
id -
FacesId inferBehaviorType(ClassName targetClass)
Infer behavior type by class name
targetClass -
ClassName inferBehaviorClass(FacesId id)
Infer name for generated behavior class by type
id -
String inferTaglibUri(ComponentLibrary library)
Determine default taglib uri from library model.
library -
String inferTaglibName(String uri)
Infer short taglib name from URI
uri -
FacesId inferRendererType(FacesId id)
Infer renderer type by component type or family.
id -
|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||