ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FacesConfigBehaviorType<T>
extends Child<T>

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

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

Method Summary
 FacesConfigBehaviorType<T> behaviorClass(String behaviorClass)
          Sets the behavior-class element
 FacesConfigBehaviorType<T> behaviorExtension()
          Sets the behavior-extension element
 FacesConfigBehaviorType<T> behaviorId(String behaviorId)
          Sets the behavior-id element
 FacesConfigAttributeType<FacesConfigBehaviorType<T>> createAttribute()
          Creates a new attribute element
 IconType<FacesConfigBehaviorType<T>> createIcon()
          Creates a new icon element
 FacesConfigPropertyType<FacesConfigBehaviorType<T>> createProperty()
          Creates a new property element
 FacesConfigBehaviorType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FacesConfigBehaviorType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<FacesConfigAttributeType<FacesConfigBehaviorType<T>>> getAllAttribute()
          Returns all attribute elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<FacesConfigBehaviorType<T>>> getAllIcon()
          Returns all icon elements
 List<FacesConfigPropertyType<FacesConfigBehaviorType<T>>> getAllProperty()
          Returns all property elements
 String getBehaviorClass()
          Returns the behavior-class element
 String getBehaviorId()
          Returns the behavior-id element
 FacesConfigAttributeType<FacesConfigBehaviorType<T>> getOrCreateAttribute()
          If not already created, a new attribute element will be created and returned.
 IconType<FacesConfigBehaviorType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FacesConfigPropertyType<FacesConfigBehaviorType<T>> getOrCreateProperty()
          If not already created, a new property element will be created and returned.
 Boolean isBehaviorExtension()
          Removes the behavior-extension element
 FacesConfigBehaviorType<T> removeAllAttribute()
          Removes all attribute elements
 FacesConfigBehaviorType<T> removeAllDescription()
          Removes the description element
 FacesConfigBehaviorType<T> removeAllDisplayName()
          Removes the display-name element
 FacesConfigBehaviorType<T> removeAllIcon()
          Removes all icon elements
 FacesConfigBehaviorType<T> removeAllProperty()
          Removes all property elements
 FacesConfigBehaviorType<T> removeBehaviorClass()
          Removes the behavior-class element
 FacesConfigBehaviorType<T> removeBehaviorExtension()
          Removes the behavior-extension element
 FacesConfigBehaviorType<T> removeBehaviorId()
          Removes the behavior-id element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FacesConfigBehaviorType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FacesConfigBehaviorType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FacesConfigBehaviorType

getOrCreateIcon

IconType<FacesConfigBehaviorType<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<FacesConfigBehaviorType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FacesConfigBehaviorType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

behaviorId

FacesConfigBehaviorType<T> behaviorId(String behaviorId)
Sets the behavior-id element

Parameters:
behaviorId - the value for the element behavior-id
Returns:
the current instance of FacesConfigBehaviorType

getBehaviorId

String getBehaviorId()
Returns the behavior-id element

Returns:
the node defined for the element behavior-id

removeBehaviorId

FacesConfigBehaviorType<T> removeBehaviorId()
Removes the behavior-id element

Returns:
the current instance of FacesConfigBehaviorType

behaviorClass

FacesConfigBehaviorType<T> behaviorClass(String behaviorClass)
Sets the behavior-class element

Parameters:
behaviorClass - the value for the element behavior-class
Returns:
the current instance of FacesConfigBehaviorType

getBehaviorClass

String getBehaviorClass()
Returns the behavior-class element

Returns:
the node defined for the element behavior-class

removeBehaviorClass

FacesConfigBehaviorType<T> removeBehaviorClass()
Removes the behavior-class element

Returns:
the current instance of FacesConfigBehaviorType

getOrCreateAttribute

FacesConfigAttributeType<FacesConfigBehaviorType<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<FacesConfigBehaviorType<T>> createAttribute()
Creates a new attribute element

Returns:
the new created instance of FacesConfigAttributeType>

getAllAttribute

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

Returns:
list of attribute

removeAllAttribute

FacesConfigBehaviorType<T> removeAllAttribute()
Removes all attribute elements

Returns:
the current instance of FacesConfigAttributeType>

getOrCreateProperty

FacesConfigPropertyType<FacesConfigBehaviorType<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<FacesConfigBehaviorType<T>> createProperty()
Creates a new property element

Returns:
the new created instance of FacesConfigPropertyType>

getAllProperty

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

Returns:
list of property

removeAllProperty

FacesConfigBehaviorType<T> removeAllProperty()
Removes all property elements

Returns:
the current instance of FacesConfigPropertyType>

behaviorExtension

FacesConfigBehaviorType<T> behaviorExtension()
Sets the behavior-extension element

Returns:
the current instance of FacesConfigBehaviorType

isBehaviorExtension

Boolean isBehaviorExtension()
Removes the behavior-extension element

Returns:
the current instance of FacesConfigBehaviorType

removeBehaviorExtension

FacesConfigBehaviorType<T> removeBehaviorExtension()
Removes the behavior-extension element

Returns:
the current instance of FacesConfigBehaviorType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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