ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.portletapp20
Interface SupportsType<T>

All Superinterfaces:
Child<T>

public interface SupportsType<T>
extends Child<T>

This interface defines the contract for the supportsType xsd type

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

Method Summary
 List<String> getAllPortletMode()
          Returns all portlet-mode elements
 List<String> getAllWindowState()
          Returns all window-state elements
 String getId()
          Returns the id attribute
 String getMimeType()
          Returns the mime-type element
 SupportsType<T> id(String id)
          Sets the id attribute
 SupportsType<T> mimeType(String mimeType)
          Sets the mime-type element
 SupportsType<T> portletMode(String... values)
          Creates for all String objects representing portlet-mode elements, a new portlet-mode element
 SupportsType<T> removeAllPortletMode()
          Removes the portlet-mode element
 SupportsType<T> removeAllWindowState()
          Removes the window-state element
 SupportsType<T> removeId()
          Removes the id attribute
 SupportsType<T> removeMimeType()
          Removes the mime-type element
 SupportsType<T> windowState(String... values)
          Creates for all String objects representing window-state elements, a new window-state element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

mimeType

SupportsType<T> mimeType(String mimeType)
Sets the mime-type element

Parameters:
mimeType - the value for the element mime-type
Returns:
the current instance of SupportsType

getMimeType

String getMimeType()
Returns the mime-type element

Returns:
the node defined for the element mime-type

removeMimeType

SupportsType<T> removeMimeType()
Removes the mime-type element

Returns:
the current instance of SupportsType

portletMode

SupportsType<T> portletMode(String... values)
Creates for all String objects representing portlet-mode elements, a new portlet-mode element

Parameters:
values - list of portlet-mode objects
Returns:
the current instance of SupportsType

getAllPortletMode

List<String> getAllPortletMode()
Returns all portlet-mode elements

Returns:
list of portlet-mode

removeAllPortletMode

SupportsType<T> removeAllPortletMode()
Removes the portlet-mode element

Returns:
the current instance of SupportsType

windowState

SupportsType<T> windowState(String... values)
Creates for all String objects representing window-state elements, a new window-state element

Parameters:
values - list of window-state objects
Returns:
the current instance of SupportsType

getAllWindowState

List<String> getAllWindowState()
Returns all window-state elements

Returns:
list of window-state

removeAllWindowState

SupportsType<T> removeAllWindowState()
Removes the window-state element

Returns:
the current instance of SupportsType

id

SupportsType<T> id(String id)
Sets the id attribute

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

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

SupportsType<T> removeId()
Removes the id attribute

Returns:
the current instance of SupportsType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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