ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21
Interface WebJsptaglibraryDescriptor

All Superinterfaces:
Descriptor, DescriptorNamespace<WebJsptaglibraryDescriptor>

public interface WebJsptaglibraryDescriptor
extends Descriptor, DescriptorNamespace<WebJsptaglibraryDescriptor>

This deployment descriptor provides the functionalities as described in the specification

Example:

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

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

Method Summary
 FunctionType<WebJsptaglibraryDescriptor> createFunction()
          Creates a new function element
 IconType<WebJsptaglibraryDescriptor> createIcon()
          Creates a new icon element
 ListenerType<WebJsptaglibraryDescriptor> createListener()
          Creates a new listener element
 TagType<WebJsptaglibraryDescriptor> createTag()
          Creates a new tag element
 TagFileType<WebJsptaglibraryDescriptor> createTagFile()
          Creates a new tag-file element
 TldExtensionType<WebJsptaglibraryDescriptor> createTaglibExtension()
          Creates a new taglib-extension element
 WebJsptaglibraryDescriptor description(String... values)
          Creates for all String objects representing description elements, a new description element
 WebJsptaglibraryDescriptor 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<FunctionType<WebJsptaglibraryDescriptor>> getAllFunction()
          Returns all function elements
 List<IconType<WebJsptaglibraryDescriptor>> getAllIcon()
          Returns all icon elements
 List<ListenerType<WebJsptaglibraryDescriptor>> getAllListener()
          Returns all listener elements
 List<TagType<WebJsptaglibraryDescriptor>> getAllTag()
          Returns all tag elements
 List<TagFileType<WebJsptaglibraryDescriptor>> getAllTagFile()
          Returns all tag-file elements
 List<TldExtensionType<WebJsptaglibraryDescriptor>> getAllTaglibExtension()
          Returns all taglib-extension elements
 FunctionType<WebJsptaglibraryDescriptor> getOrCreateFunction()
          If not already created, a new function element will be created and returned.
 IconType<WebJsptaglibraryDescriptor> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 ListenerType<WebJsptaglibraryDescriptor> getOrCreateListener()
          If not already created, a new listener element will be created and returned.
 TagType<WebJsptaglibraryDescriptor> getOrCreateTag()
          If not already created, a new tag element will be created and returned.
 TagFileType<WebJsptaglibraryDescriptor> getOrCreateTagFile()
          If not already created, a new tag-file element will be created and returned.
 TldExtensionType<WebJsptaglibraryDescriptor> getOrCreateTaglibExtension()
          If not already created, a new taglib-extension element will be created and returned.
 ValidatorType<WebJsptaglibraryDescriptor> getOrCreateValidator()
          If not already created, a new validator element with the given value will be created.
 String getShortName()
          Returns the short-name element
 String getTlibVersion()
          Returns the tlib-version element
 String getUri()
          Returns the uri element
 String getVersion()
          Returns the version attribute
 WebJsptaglibraryDescriptor removeAllDescription()
          Removes the description element
 WebJsptaglibraryDescriptor removeAllDisplayName()
          Removes the display-name element
 WebJsptaglibraryDescriptor removeAllFunction()
          Removes all function elements
 WebJsptaglibraryDescriptor removeAllIcon()
          Removes all icon elements
 WebJsptaglibraryDescriptor removeAllListener()
          Removes all listener elements
 WebJsptaglibraryDescriptor removeAllTag()
          Removes all tag elements
 WebJsptaglibraryDescriptor removeAllTagFile()
          Removes all tag-file elements
 WebJsptaglibraryDescriptor removeAllTaglibExtension()
          Removes all taglib-extension elements
 WebJsptaglibraryDescriptor removeShortName()
          Removes the short-name element
 WebJsptaglibraryDescriptor removeTlibVersion()
          Removes the tlib-version element
 WebJsptaglibraryDescriptor removeUri()
          Removes the uri element
 WebJsptaglibraryDescriptor removeValidator()
          Removes the validator element
 WebJsptaglibraryDescriptor removeVersion()
          Removes the version attribute
 WebJsptaglibraryDescriptor shortName(String shortName)
          Sets the short-name element
 WebJsptaglibraryDescriptor tlibVersion(String tlibVersion)
          Sets the tlib-version element
 WebJsptaglibraryDescriptor uri(String uri)
          Sets the uri element
 WebJsptaglibraryDescriptor 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

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

WebJsptaglibraryDescriptor removeAllDescription()
Removes the description element

Returns:
the current instance of WebJsptaglibraryDescriptor

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

WebJsptaglibraryDescriptor removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of WebJsptaglibraryDescriptor

getOrCreateIcon

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

Returns:
the new created instance of IconType

getAllIcon

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

Returns:
list of icon

removeAllIcon

WebJsptaglibraryDescriptor removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType

tlibVersion

WebJsptaglibraryDescriptor tlibVersion(String tlibVersion)
Sets the tlib-version element

Parameters:
tlibVersion - the value for the element tlib-version
Returns:
the current instance of WebJsptaglibraryDescriptor

getTlibVersion

String getTlibVersion()
Returns the tlib-version element

Returns:
the node defined for the element tlib-version

removeTlibVersion

WebJsptaglibraryDescriptor removeTlibVersion()
Removes the tlib-version element

Returns:
the current instance of WebJsptaglibraryDescriptor

shortName

WebJsptaglibraryDescriptor shortName(String shortName)
Sets the short-name element

Parameters:
shortName - the value for the element short-name
Returns:
the current instance of WebJsptaglibraryDescriptor

getShortName

String getShortName()
Returns the short-name element

Returns:
the node defined for the element short-name

removeShortName

WebJsptaglibraryDescriptor removeShortName()
Removes the short-name element

Returns:
the current instance of WebJsptaglibraryDescriptor

uri

WebJsptaglibraryDescriptor uri(String uri)
Sets the uri element

Parameters:
uri - the value for the element uri
Returns:
the current instance of WebJsptaglibraryDescriptor

getUri

String getUri()
Returns the uri element

Returns:
the node defined for the element uri

removeUri

WebJsptaglibraryDescriptor removeUri()
Removes the uri element

Returns:
the current instance of WebJsptaglibraryDescriptor

getOrCreateValidator

ValidatorType<WebJsptaglibraryDescriptor> getOrCreateValidator()
If not already created, a new validator element with the given value will be created. Otherwise, the existing validator element will be returned.

Returns:
a new or existing instance of ValidatorType

removeValidator

WebJsptaglibraryDescriptor removeValidator()
Removes the validator element

Returns:
the current instance of WebJsptaglibraryDescriptor

getOrCreateListener

ListenerType<WebJsptaglibraryDescriptor> getOrCreateListener()
If not already created, a new listener element will be created and returned. Otherwise, the first existing listener element will be returned.

Returns:
the instance defined for the element listener

createListener

ListenerType<WebJsptaglibraryDescriptor> createListener()
Creates a new listener element

Returns:
the new created instance of ListenerType

getAllListener

List<ListenerType<WebJsptaglibraryDescriptor>> getAllListener()
Returns all listener elements

Returns:
list of listener

removeAllListener

WebJsptaglibraryDescriptor removeAllListener()
Removes all listener elements

Returns:
the current instance of ListenerType

getOrCreateTag

TagType<WebJsptaglibraryDescriptor> 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

TagType<WebJsptaglibraryDescriptor> createTag()
Creates a new tag element

Returns:
the new created instance of TagType

getAllTag

List<TagType<WebJsptaglibraryDescriptor>> getAllTag()
Returns all tag elements

Returns:
list of tag

removeAllTag

WebJsptaglibraryDescriptor removeAllTag()
Removes all tag elements

Returns:
the current instance of TagType

getOrCreateTagFile

TagFileType<WebJsptaglibraryDescriptor> getOrCreateTagFile()
If not already created, a new tag-file element will be created and returned. Otherwise, the first existing tag-file element will be returned.

Returns:
the instance defined for the element tag-file

createTagFile

TagFileType<WebJsptaglibraryDescriptor> createTagFile()
Creates a new tag-file element

Returns:
the new created instance of TagFileType

getAllTagFile

List<TagFileType<WebJsptaglibraryDescriptor>> getAllTagFile()
Returns all tag-file elements

Returns:
list of tag-file

removeAllTagFile

WebJsptaglibraryDescriptor removeAllTagFile()
Removes all tag-file elements

Returns:
the current instance of TagFileType

getOrCreateFunction

FunctionType<WebJsptaglibraryDescriptor> 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

FunctionType<WebJsptaglibraryDescriptor> createFunction()
Creates a new function element

Returns:
the new created instance of FunctionType

getAllFunction

List<FunctionType<WebJsptaglibraryDescriptor>> getAllFunction()
Returns all function elements

Returns:
list of function

removeAllFunction

WebJsptaglibraryDescriptor removeAllFunction()
Removes all function elements

Returns:
the current instance of FunctionType

getOrCreateTaglibExtension

TldExtensionType<WebJsptaglibraryDescriptor> getOrCreateTaglibExtension()
If not already created, a new taglib-extension element will be created and returned. Otherwise, the first existing taglib-extension element will be returned.

Returns:
the instance defined for the element taglib-extension

createTaglibExtension

TldExtensionType<WebJsptaglibraryDescriptor> createTaglibExtension()
Creates a new taglib-extension element

Returns:
the new created instance of TldExtensionType

getAllTaglibExtension

List<TldExtensionType<WebJsptaglibraryDescriptor>> getAllTaglibExtension()
Returns all taglib-extension elements

Returns:
list of taglib-extension

removeAllTaglibExtension

WebJsptaglibraryDescriptor removeAllTaglibExtension()
Removes all taglib-extension elements

Returns:
the current instance of TldExtensionType

version

WebJsptaglibraryDescriptor version(String version)
Sets the version attribute

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

getVersion

String getVersion()
Returns the version attribute

Returns:
the value defined for the attribute version

removeVersion

WebJsptaglibraryDescriptor removeVersion()
Removes the version attribute

Returns:
the current instance of WebJsptaglibraryDescriptor

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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