ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.jsptaglibrary20
Interface ValidatorType<T>

All Superinterfaces:
Child<T>

public interface ValidatorType<T>
extends Child<T>

This interface defines the contract for the validatorType xsd type

Since:
Generation date :2012-05-09T23:45:02.086-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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

description

ValidatorType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of ValidatorType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

ValidatorType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of ValidatorType

validatorClass

ValidatorType<T> validatorClass(String validatorClass)
Sets the validator-class element

Parameters:
validatorClass - the value for the element validator-class
Returns:
the current instance of ValidatorType

getValidatorClass

String getValidatorClass()
Returns the validator-class element

Returns:
the node defined for the element validator-class

removeValidatorClass

ValidatorType<T> removeValidatorClass()
Removes the validator-class element

Returns:
the current instance of ValidatorType

getOrCreateInitParam

ParamValueType<ValidatorType<T>> getOrCreateInitParam()
If not already created, a new init-param element will be created and returned. Otherwise, the first existing init-param element will be returned.

Returns:
the instance defined for the element init-param

createInitParam

ParamValueType<ValidatorType<T>> createInitParam()
Creates a new init-param element

Returns:
the new created instance of ParamValueType>

getAllInitParam

List<ParamValueType<ValidatorType<T>>> getAllInitParam()
Returns all init-param elements

Returns:
list of init-param

removeAllInitParam

ValidatorType<T> removeAllInitParam()
Removes all init-param elements

Returns:
the current instance of ParamValueType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.