ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.jsptaglibrary21
Interface TagFileType<T>

All Superinterfaces:
Child<T>

public interface TagFileType<T>
extends Child<T>

This interface defines the contract for the tagFileType xsd type

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

Method Summary
 IconType<TagFileType<T>> createIcon()
          Creates a new icon element
 TldExtensionType<TagFileType<T>> createTagExtension()
          Creates a new tag-extension element
 TagFileType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 TagFileType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 TagFileType<T> example(String example)
          Sets the example element
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<IconType<TagFileType<T>>> getAllIcon()
          Returns all icon elements
 List<TldExtensionType<TagFileType<T>>> getAllTagExtension()
          Returns all tag-extension elements
 String getExample()
          Returns the example element
 String getName()
          Returns the name element
 IconType<TagFileType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 TldExtensionType<TagFileType<T>> getOrCreateTagExtension()
          If not already created, a new tag-extension element will be created and returned.
 String getPath()
          Returns the path element
 TagFileType<T> name(String name)
          Sets the name element
 TagFileType<T> path(String path)
          Sets the path element
 TagFileType<T> removeAllDescription()
          Removes the description element
 TagFileType<T> removeAllDisplayName()
          Removes the display-name element
 TagFileType<T> removeAllIcon()
          Removes all icon elements
 TagFileType<T> removeAllTagExtension()
          Removes all tag-extension elements
 TagFileType<T> removeExample()
          Removes the example element
 TagFileType<T> removeName()
          Removes the name element
 TagFileType<T> removePath()
          Removes the path element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

TagFileType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of TagFileType

displayName

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

getAllDisplayName

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

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of TagFileType

getOrCreateIcon

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

Returns:
the new created instance of IconType>

getAllIcon

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

Returns:
list of icon

removeAllIcon

TagFileType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

name

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

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

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

TagFileType<T> removeName()
Removes the name element

Returns:
the current instance of TagFileType

path

TagFileType<T> path(String path)
Sets the path element

Parameters:
path - the value for the element path
Returns:
the current instance of TagFileType

getPath

String getPath()
Returns the path element

Returns:
the node defined for the element path

removePath

TagFileType<T> removePath()
Removes the path element

Returns:
the current instance of TagFileType

example

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

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

getExample

String getExample()
Returns the example element

Returns:
the node defined for the element example

removeExample

TagFileType<T> removeExample()
Removes the example element

Returns:
the current instance of TagFileType

getOrCreateTagExtension

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

Returns:
the instance defined for the element tag-extension

createTagExtension

TldExtensionType<TagFileType<T>> createTagExtension()
Creates a new tag-extension element

Returns:
the new created instance of TldExtensionType>

getAllTagExtension

List<TldExtensionType<TagFileType<T>>> getAllTagExtension()
Returns all tag-extension elements

Returns:
list of tag-extension

removeAllTagExtension

TagFileType<T> removeAllTagExtension()
Removes all tag-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.