org.jboss.shrinkwrap.descriptor.api.facelettaglibrary20
Interface WebFacelettaglibraryDescriptor

All Superinterfaces:
Descriptor, DescriptorNamespace<WebFacelettaglibraryDescriptor>

public interface WebFacelettaglibraryDescriptor
extends Descriptor, DescriptorNamespace<WebFacelettaglibraryDescriptor>

This deployment descriptor provides the functionalities as described in the specification

Example:

WebFacelettaglibraryDescriptor descriptor = Descriptors.create(WebFacelettaglibraryDescriptor.class);

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 WebFacelettaglibraryDescriptor compositeLibraryName(String compositeLibraryName)
          Sets the composite-library-name element
 FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor> createFunction()
          Creates a new function element
 IconType<WebFacelettaglibraryDescriptor> createIcon()
          Creates a new icon element
 FaceletTaglibTagType<WebFacelettaglibraryDescriptor> createTag()
          Creates a new tag element
 WebFacelettaglibraryDescriptor description(String... values)
          Creates for all String objects representing description elements, a new description element
 WebFacelettaglibraryDescriptor displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor>> getAllFunction()
          Returns all function elements
 List<IconType<WebFacelettaglibraryDescriptor>> getAllIcon()
          Returns all icon elements
 List<FaceletTaglibTagType<WebFacelettaglibraryDescriptor>> getAllTag()
          Returns all tag elements
 String getCompositeLibraryName()
          Returns the composite-library-name element
 String getId()
          Returns the id attribute
 String getLibraryClass()
          Returns the library-class element
 String getNamespace()
          Returns the namespace element
 FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor> getOrCreateFunction()
          If not already created, a new function element will be created and returned.
 IconType<WebFacelettaglibraryDescriptor> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FaceletTaglibTagType<WebFacelettaglibraryDescriptor> getOrCreateTag()
          If not already created, a new tag element will be created and returned.
 FaceletTaglibVersionType getVersion()
          Returns the version attribute
 String getVersionAsString()
          Returns the version attribute
 WebFacelettaglibraryDescriptor id(String id)
          Sets the id attribute
 Boolean isTaglibExtension()
          Removes the taglib-extension element
 WebFacelettaglibraryDescriptor libraryClass(String libraryClass)
          Sets the library-class element
 WebFacelettaglibraryDescriptor namespace(String namespace)
          Sets the namespace element
 WebFacelettaglibraryDescriptor removeAllDescription()
          Removes the description element
 WebFacelettaglibraryDescriptor removeAllDisplayName()
          Removes the display-name element
 WebFacelettaglibraryDescriptor removeAllFunction()
          Removes all function elements
 WebFacelettaglibraryDescriptor removeAllIcon()
          Removes all icon elements
 WebFacelettaglibraryDescriptor removeAllTag()
          Removes all tag elements
 WebFacelettaglibraryDescriptor removeCompositeLibraryName()
          Removes the composite-library-name element
 WebFacelettaglibraryDescriptor removeId()
          Removes the id attribute
 WebFacelettaglibraryDescriptor removeLibraryClass()
          Removes the library-class element
 WebFacelettaglibraryDescriptor removeNamespace()
          Removes the namespace element
 WebFacelettaglibraryDescriptor removeTaglibExtension()
          Removes the taglib-extension element
 WebFacelettaglibraryDescriptor removeVersion()
          Removes the version attribute
 WebFacelettaglibraryDescriptor taglibExtension()
          Sets the taglib-extension element
 WebFacelettaglibraryDescriptor version(FaceletTaglibVersionType version)
          Sets the version attribute
 WebFacelettaglibraryDescriptor version(String version)
          Sets the version attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

WebFacelettaglibraryDescriptor removeAllDescription()
Removes the description element

Returns:
the current instance of WebFacelettaglibraryDescriptor

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

WebFacelettaglibraryDescriptor removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of WebFacelettaglibraryDescriptor

getOrCreateIcon

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

Returns:
the new created instance of IconType

getAllIcon

List<IconType<WebFacelettaglibraryDescriptor>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

WebFacelettaglibraryDescriptor removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType

libraryClass

WebFacelettaglibraryDescriptor libraryClass(String libraryClass)
Sets the library-class element

Parameters:
libraryClass - the value for the element library-class
Returns:
the current instance of WebFacelettaglibraryDescriptor

getLibraryClass

String getLibraryClass()
Returns the library-class element

Returns:
the node defined for the element library-class

removeLibraryClass

WebFacelettaglibraryDescriptor removeLibraryClass()
Removes the library-class element

Returns:
the current instance of WebFacelettaglibraryDescriptor

namespace

WebFacelettaglibraryDescriptor namespace(String namespace)
Sets the namespace element

Parameters:
namespace - the value for the element namespace
Returns:
the current instance of WebFacelettaglibraryDescriptor

getNamespace

String getNamespace()
Returns the namespace element

Returns:
the node defined for the element namespace

removeNamespace

WebFacelettaglibraryDescriptor removeNamespace()
Removes the namespace element

Returns:
the current instance of WebFacelettaglibraryDescriptor

compositeLibraryName

WebFacelettaglibraryDescriptor compositeLibraryName(String compositeLibraryName)
Sets the composite-library-name element

Parameters:
compositeLibraryName - the value for the element composite-library-name
Returns:
the current instance of WebFacelettaglibraryDescriptor

getCompositeLibraryName

String getCompositeLibraryName()
Returns the composite-library-name element

Returns:
the node defined for the element composite-library-name

removeCompositeLibraryName

WebFacelettaglibraryDescriptor removeCompositeLibraryName()
Removes the composite-library-name element

Returns:
the current instance of WebFacelettaglibraryDescriptor

getOrCreateTag

FaceletTaglibTagType<WebFacelettaglibraryDescriptor> getOrCreateTag()
If not already created, a new tag element will be created and returned. Otherwise, the first existing tag element will be returned.

Returns:
the instance defined for the element tag

createTag

FaceletTaglibTagType<WebFacelettaglibraryDescriptor> createTag()
Creates a new tag element

Returns:
the new created instance of FaceletTaglibTagType

getAllTag

List<FaceletTaglibTagType<WebFacelettaglibraryDescriptor>> getAllTag()
Returns all tag elements

Returns:
list of tag

removeAllTag

WebFacelettaglibraryDescriptor removeAllTag()
Removes all tag elements

Returns:
the current instance of FaceletTaglibTagType

getOrCreateFunction

FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor> getOrCreateFunction()
If not already created, a new function element will be created and returned. Otherwise, the first existing function element will be returned.

Returns:
the instance defined for the element function

createFunction

FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor> createFunction()
Creates a new function element

Returns:
the new created instance of FaceletTaglibFunctionType

getAllFunction

List<FaceletTaglibFunctionType<WebFacelettaglibraryDescriptor>> getAllFunction()
Returns all function elements

Returns:
list of function

removeAllFunction

WebFacelettaglibraryDescriptor removeAllFunction()
Removes all function elements

Returns:
the current instance of FaceletTaglibFunctionType

taglibExtension

WebFacelettaglibraryDescriptor taglibExtension()
Sets the taglib-extension element

Returns:
the current instance of WebFacelettaglibraryDescriptor

isTaglibExtension

Boolean isTaglibExtension()
Removes the taglib-extension element

Returns:
the current instance of WebFacelettaglibraryDescriptor

removeTaglibExtension

WebFacelettaglibraryDescriptor removeTaglibExtension()
Removes the taglib-extension element

Returns:
the current instance of WebFacelettaglibraryDescriptor

id

WebFacelettaglibraryDescriptor id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of WebFacelettaglibraryDescriptor

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

WebFacelettaglibraryDescriptor removeId()
Removes the id attribute

Returns:
the current instance of WebFacelettaglibraryDescriptor

version

WebFacelettaglibraryDescriptor version(FaceletTaglibVersionType version)
Sets the version attribute

Parameters:
version - the value for the attribute version
Returns:
the current instance of WebFacelettaglibraryDescriptor

version

WebFacelettaglibraryDescriptor version(String version)
Sets the version attribute

Parameters:
version - the value for the attribute version
Returns:
the current instance of WebFacelettaglibraryDescriptor

getVersion

FaceletTaglibVersionType getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

getVersionAsString

String getVersionAsString()
Returns the version attribute

Returns:
the value found for the element version

removeVersion

WebFacelettaglibraryDescriptor removeVersion()
Removes the version attribute

Returns:
the current instance of WebFacelettaglibraryDescriptor


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.