public interface ValidatorType<T> extends Child<T>
validatorType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
ValidatorType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsValidatorType
List<String> getAllDescription()
description
elementsdescription
ValidatorType<T> removeAllDescription()
description
elementValidatorType
ValidatorType<T> validatorClass(String validatorClass)
validator-class
elementvalidatorClass
- the value for the element validator-class
ValidatorType
String getValidatorClass()
validator-class
elementvalidator-class
ValidatorType<T> removeValidatorClass()
validator-class
elementValidatorType
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
elementParamValueType>
List<ParamValueType<ValidatorType<T>>> getAllInitParam()
init-param
elementsinit-param
ValidatorType<T> removeAllInitParam()
init-param
elementsParamValueType>
Copyright © 2017 JBoss by Red Hat. All rights reserved.