ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.facesconfig21
Interface FacesConfigValidatorType<T>

All Superinterfaces:
Child<T>

public interface FacesConfigValidatorType<T>
extends Child<T>

This interface defines the contract for the faces-config-validatorType xsd type

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

Method Summary
 FacesConfigAttributeType<FacesConfigValidatorType<T>> createAttribute()
          Creates a new attribute element
 IconType<FacesConfigValidatorType<T>> createIcon()
          Creates a new icon element
 FacesConfigPropertyType<FacesConfigValidatorType<T>> createProperty()
          Creates a new property element
 FacesConfigValidatorType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigValidatorType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<FacesConfigAttributeType<FacesConfigValidatorType<T>>> getAllAttribute()
          Returns all attribute elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigValidatorType<T>>> getAllIcon()
          Returns all icon elements
 List<FacesConfigPropertyType<FacesConfigValidatorType<T>>> getAllProperty()
          Returns all property elements
 FacesConfigAttributeType<FacesConfigValidatorType<T>> getOrCreateAttribute()
          If not already created, a new attribute element will be created and returned.
 IconType<FacesConfigValidatorType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigPropertyType<FacesConfigValidatorType<T>> getOrCreateProperty()
          If not already created, a new property element will be created and returned.
 String getValidatorClass()
          Returns the validator-class element
 String getValidatorId()
          Returns the validator-id element
 Boolean isValidatorExtension()
          Removes the validator-extension element
 FacesConfigValidatorType<T> removeAllAttribute()
          Removes all attribute elements
 FacesConfigValidatorType<T> removeAllDescription()
          Removes the description element
 FacesConfigValidatorType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigValidatorType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigValidatorType<T> removeAllProperty()
          Removes all property elements
 FacesConfigValidatorType<T> removeValidatorClass()
          Removes the validator-class element
 FacesConfigValidatorType<T> removeValidatorExtension()
          Removes the validator-extension element
 FacesConfigValidatorType<T> removeValidatorId()
          Removes the validator-id element
 FacesConfigValidatorType<T> validatorClass(String validatorClass)
          Sets the validator-class element
 FacesConfigValidatorType<T> validatorExtension()
          Sets the validator-extension element
 FacesConfigValidatorType<T> validatorId(String validatorId)
          Sets the validator-id element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

FacesConfigValidatorType<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 FacesConfigValidatorType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigValidatorType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigValidatorType

displayName

FacesConfigValidatorType<T> displayName(String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
values - list of display-name objects
Returns:
the current instance of FacesConfigValidatorType

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

FacesConfigValidatorType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of FacesConfigValidatorType

getOrCreateIcon

IconType<FacesConfigValidatorType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<FacesConfigValidatorType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<FacesConfigValidatorType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

FacesConfigValidatorType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

validatorId

FacesConfigValidatorType<T> validatorId(String validatorId)
Sets the validator-id element

Parameters:
validatorId - the value for the element validator-id
Returns:
the current instance of FacesConfigValidatorType

getValidatorId

String getValidatorId()
Returns the validator-id element

Returns:
the node defined for the element validator-id

removeValidatorId

FacesConfigValidatorType<T> removeValidatorId()
Removes the validator-id element

Returns:
the current instance of FacesConfigValidatorType

validatorClass

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

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

getValidatorClass

String getValidatorClass()
Returns the validator-class element

Returns:
the node defined for the element validator-class

removeValidatorClass

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

Returns:
the current instance of FacesConfigValidatorType

getOrCreateAttribute

FacesConfigAttributeType<FacesConfigValidatorType<T>> getOrCreateAttribute()
If not already created, a new attribute element will be created and returned. Otherwise, the first existing attribute element will be returned.

Returns:
the instance defined for the element attribute

createAttribute

FacesConfigAttributeType<FacesConfigValidatorType<T>> createAttribute()
Creates a new attribute element

Returns:
the new created instance of FacesConfigAttributeType>

getAllAttribute

List<FacesConfigAttributeType<FacesConfigValidatorType<T>>> getAllAttribute()
Returns all attribute elements

Returns:
list of attribute

removeAllAttribute

FacesConfigValidatorType<T> removeAllAttribute()
Removes all attribute elements

Returns:
the current instance of FacesConfigAttributeType>

getOrCreateProperty

FacesConfigPropertyType<FacesConfigValidatorType<T>> getOrCreateProperty()
If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.

Returns:
the instance defined for the element property

createProperty

FacesConfigPropertyType<FacesConfigValidatorType<T>> createProperty()
Creates a new property element

Returns:
the new created instance of FacesConfigPropertyType>

getAllProperty

List<FacesConfigPropertyType<FacesConfigValidatorType<T>>> getAllProperty()
Returns all property elements

Returns:
list of property

removeAllProperty

FacesConfigValidatorType<T> removeAllProperty()
Removes all property elements

Returns:
the current instance of FacesConfigPropertyType>

validatorExtension

FacesConfigValidatorType<T> validatorExtension()
Sets the validator-extension element

Returns:
the current instance of FacesConfigValidatorType

isValidatorExtension

Boolean isValidatorExtension()
Removes the validator-extension element

Returns:
the current instance of FacesConfigValidatorType

removeValidatorExtension

FacesConfigValidatorType<T> removeValidatorExtension()
Removes the validator-extension element

Returns:
the current instance of FacesConfigValidatorType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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