ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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

All Superinterfaces:
Child<T>

public interface FunctionType<T>
extends Child<T>

This interface defines the contract for the functionType xsd type

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

Method Summary
 TldExtensionType<FunctionType<T>> createFunctionExtension()
          Creates a new function-extension element
 IconType<FunctionType<T>> createIcon()
          Creates a new icon element
 FunctionType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 FunctionType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 FunctionType<T> example(String example)
          Sets the example element
 FunctionType<T> functionClass(String functionClass)
          Sets the function-class element
 FunctionType<T> functionSignature(String functionSignature)
          Sets the function-signature element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<TldExtensionType<FunctionType<T>>> getAllFunctionExtension()
          Returns all function-extension elements
 List<IconType<FunctionType<T>>> getAllIcon()
          Returns all icon elements
 String getExample()
          Returns the example element
 String getFunctionClass()
          Returns the function-class element
 String getFunctionSignature()
          Returns the function-signature element
 String getName()
          Returns the name element
 TldExtensionType<FunctionType<T>> getOrCreateFunctionExtension()
          If not already created, a new function-extension element will be created and returned.
 IconType<FunctionType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 FunctionType<T> name(String name)
          Sets the name element
 FunctionType<T> removeAllDescription()
          Removes the description element
 FunctionType<T> removeAllDisplayName()
          Removes the display-name element
 FunctionType<T> removeAllFunctionExtension()
          Removes all function-extension elements
 FunctionType<T> removeAllIcon()
          Removes all icon elements
 FunctionType<T> removeExample()
          Removes the example element
 FunctionType<T> removeFunctionClass()
          Removes the function-class element
 FunctionType<T> removeFunctionSignature()
          Removes the function-signature element
 FunctionType<T> removeName()
          Removes the name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

FunctionType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of FunctionType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of FunctionType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

FunctionType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

name

FunctionType<T> name(String name)
Sets the name element

Parameters:
name - the value for the element name
Returns:
the current instance of FunctionType

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

FunctionType<T> removeName()
Removes the name element

Returns:
the current instance of FunctionType

functionClass

FunctionType<T> functionClass(String functionClass)
Sets the function-class element

Parameters:
functionClass - the value for the element function-class
Returns:
the current instance of FunctionType

getFunctionClass

String getFunctionClass()
Returns the function-class element

Returns:
the node defined for the element function-class

removeFunctionClass

FunctionType<T> removeFunctionClass()
Removes the function-class element

Returns:
the current instance of FunctionType

functionSignature

FunctionType<T> functionSignature(String functionSignature)
Sets the function-signature element

Parameters:
functionSignature - the value for the element function-signature
Returns:
the current instance of FunctionType

getFunctionSignature

String getFunctionSignature()
Returns the function-signature element

Returns:
the node defined for the element function-signature

removeFunctionSignature

FunctionType<T> removeFunctionSignature()
Removes the function-signature element

Returns:
the current instance of FunctionType

example

FunctionType<T> example(String example)
Sets the example element

Parameters:
example - the value for the element example
Returns:
the current instance of FunctionType

getExample

String getExample()
Returns the example element

Returns:
the node defined for the element example

removeExample

FunctionType<T> removeExample()
Removes the example element

Returns:
the current instance of FunctionType

getOrCreateFunctionExtension

TldExtensionType<FunctionType<T>> getOrCreateFunctionExtension()
If not already created, a new function-extension element will be created and returned. Otherwise, the first existing function-extension element will be returned.

Returns:
the instance defined for the element function-extension

createFunctionExtension

TldExtensionType<FunctionType<T>> createFunctionExtension()
Creates a new function-extension element

Returns:
the new created instance of TldExtensionType>

getAllFunctionExtension

List<TldExtensionType<FunctionType<T>>> getAllFunctionExtension()
Returns all function-extension elements

Returns:
list of function-extension

removeAllFunctionExtension

FunctionType<T> removeAllFunctionExtension()
Removes all function-extension elements

Returns:
the current instance of TldExtensionType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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