|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidatorType<T>
This interface defines the contract for the validatorType
xsd type
Method Summary | |
---|---|
ParamValueType<ValidatorType<T>> |
createInitParam()
Creates a new init-param element |
ValidatorType<T> |
description(String... values)
Creates for all String objects representing description elements,
a new description element |
List<String> |
getAllDescription()
Returns all description elements |
List<ParamValueType<ValidatorType<T>>> |
getAllInitParam()
Returns all init-param elements |
ParamValueType<ValidatorType<T>> |
getOrCreateInitParam()
If not already created, a new init-param element will be created and returned. |
String |
getValidatorClass()
Returns the validator-class element |
ValidatorType<T> |
removeAllDescription()
Removes the description element |
ValidatorType<T> |
removeAllInitParam()
Removes all init-param elements |
ValidatorType<T> |
removeValidatorClass()
Removes the validator-class element |
ValidatorType<T> |
validatorClass(String validatorClass)
Sets the validator-class element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ValidatorType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
ValidatorType
List<String> getAllDescription()
description
elements
description
ValidatorType<T> removeAllDescription()
description
element
ValidatorType
ValidatorType<T> validatorClass(String validatorClass)
validator-class
element
validatorClass
- the value for the element validator-class
ValidatorType
String getValidatorClass()
validator-class
element
validator-class
ValidatorType<T> removeValidatorClass()
validator-class
element
ValidatorType
ParamValueType<ValidatorType<T>> getOrCreateInitParam()
init-param
element will be created and returned.
Otherwise, the first existing init-param
element will be returned.
init-param
ParamValueType<ValidatorType<T>> createInitParam()
init-param
element
ParamValueType>
List<ParamValueType<ValidatorType<T>>> getAllInitParam()
init-param
elements
init-param
ValidatorType<T> removeAllInitParam()
init-param
elements
ParamValueType>
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |