|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.model.validator.ValidatorImpl
public class ValidatorImpl
| Field Summary | |
|---|---|
static ClassName |
DEFAULT_BEHAVIOR_HANDLER
|
static ClassName |
DEFAULT_COMPONENT_HANDLER
|
static ClassName |
DEFAULT_CONVERTER_HANDLER
|
static ClassName |
DEFAULT_VALIDATOR_HANDLER
|
| Constructor Summary | |
|---|---|
ValidatorImpl(NamingConventions namingConventions,
com.google.inject.Provider<SourceUtils> sourceUtilsProvider)
|
|
| Method Summary | |
|---|---|
protected void |
vefifyRenderer(ComponentLibrary library,
RendererModel renderer)
|
void |
verify(ComponentLibrary library)
Perform verify procedure on the library model. |
protected void |
verifyAttribute(PropertyBase attribute,
boolean generatedComponent)
|
protected void |
verifyBehaviors(ComponentLibrary library)
Verify all behaviors in the library. |
protected void |
verifyComponentAttributes(ComponentLibrary library,
ComponentModel component,
java.util.Collection<ComponentModel> verified)
|
protected void |
verifyComponents(ComponentLibrary library)
|
protected void |
verifyComponentType(ComponentModel component)
|
protected void |
verifyDescription(DescriptionGroup element)
|
protected void |
verifyEvents(ComponentLibrary library)
|
protected void |
verifyRenderers(ComponentLibrary library)
|
protected void |
verifyTag(TagModel tag,
FacesId id,
ClassName handler)
|
protected void |
verifyTaglib(ComponentLibrary library)
|
protected boolean |
verifyTypes(FacesComponent component,
org.richfaces.cdk.model.validator.NamingConventionsCallback callback)
This method virifies type/family attributes for JSF objects ( components, renderers, validators, converters, behaviors ) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ClassName DEFAULT_COMPONENT_HANDLER
public static final ClassName DEFAULT_VALIDATOR_HANDLER
public static final ClassName DEFAULT_CONVERTER_HANDLER
public static final ClassName DEFAULT_BEHAVIOR_HANDLER
| Constructor Detail |
|---|
@Inject
public ValidatorImpl(NamingConventions namingConventions,
com.google.inject.Provider<SourceUtils> sourceUtilsProvider)
| Method Detail |
|---|
public void verify(ComponentLibrary library)
throws CdkException
ModelValidatorPerform verify procedure on the library model.
verify in interface ModelValidatorCdkExceptionprotected void verifyEvents(ComponentLibrary library)
protected void verifyTaglib(ComponentLibrary library)
protected void verifyBehaviors(ComponentLibrary library)
Verify all behaviors in the library.
library - protected void verifyRenderers(ComponentLibrary library)
protected void vefifyRenderer(ComponentLibrary library,
RendererModel renderer)
protected void verifyComponents(ComponentLibrary library)
throws CdkException
CdkException
protected void verifyComponentAttributes(ComponentLibrary library,
ComponentModel component,
java.util.Collection<ComponentModel> verified)
library - component - verified -
protected void verifyTag(TagModel tag,
FacesId id,
ClassName handler)
protected void verifyComponentType(ComponentModel component)
throws InvalidNameException
component -
InvalidNameException
protected boolean verifyTypes(FacesComponent component,
org.richfaces.cdk.model.validator.NamingConventionsCallback callback)
This method virifies type/family attributes for JSF objects ( components, renderers, validators, converters, behaviors )
component - object to verify.callback - callback to corresponding naming conventions.
protected void verifyAttribute(PropertyBase attribute,
boolean generatedComponent)
protected void verifyDescription(DescriptionGroup element)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||