Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.impl.application5
Class Application5DescriptorImpl

    java.lang.Object
      org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
          org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
              org.jboss.shrinkwrap.descriptor.impl.application5.Application5DescriptorImpl

All Implemented Interfaces:
  Application5Descriptor, org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>, org.jboss.shrinkwrap.descriptor.spi.NodeProvider

    public class Application5DescriptorImpl

extends org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
implements org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>, Application5Descriptor

This deployment descriptor provides the functionalities as described in the application_5.xsd specification

Example:

`Application5Descriptor descriptor = Descriptors.create(Application5Descriptor.class);`

Since:
  Generation date :2011-07-19T22:54:35.59+02:00
Author:
  Ralf Battenfeld

Constructor Summary
`Application5DescriptorImpl(java.lang.String descriptorName)`
`Application5DescriptorImpl(java.lang.String descriptorName, org.jboss.shrinkwrap.descriptor.spi.Node node)`

Method Summary
`Application5Descriptor` | `addDefaultNamespaces()`
`Application5Descriptor` | `addNamespace(java.lang.String name, java.lang.String value)`
`java.util.List<java.lang.String>` | `getDescriptionList()` Returns all `description` elements
`java.util.List<java.lang.String>` | `getDisplayNameList()` Returns all `display-name` elements
`java.util.List<IconType<Application5Descriptor>>` | `getIconList()` Returns all `icon` elements
`java.lang.String` | `getLibraryDirectory()` Returns the `library-directory` element
`java.util.List<ModuleType<Application5Descriptor>>` | `getModuleList()` Returns all `module` elements
`java.util.List<java.lang.String>` | `getNamespaces()`
`org.jboss.shrinkwrap.descriptor.spi.Node` | `getRootNode()`
`java.util.List<SecurityRoleType<Application5Descriptor>>` | `getSecurityRoleList()` Returns all `security-role` elements
`java.lang.String` | `getVersion()` Returns the `version` element
`IconType<Application5Descriptor>` | `icon()` Returns the `icon` element
`ModuleType<Application5Descriptor>` | `module()` Returns the `module` element
`Application5Descriptor` | `removeAllDescription()` Removes the `description` element
`Application5Descriptor` | `removeAllDisplayName()` Removes the `display-name` element
`Application5Descriptor` | `removeAllIcon()` Removes all `icon` elements
`Application5Descriptor` | `removeAllModule()` Removes all `module` elements
`Application5Descriptor` | `removeAllNamespaces()`
`Application5Descriptor` | `removeAllSecurityRole()` Removes all `security-role` elements
`Application5Descriptor` | `removeLibraryDirectory()` Removes the `library-directory` element
`Application5Descriptor` | `removeVersion()` Removes the `version` attribute
`SecurityRoleType<Application5Descriptor>` | `securityRole()` Returns the `security-role` element
`Application5Descriptor` | `setDescription(java.lang.String description)` Creates a new `description` element
`Application5Descriptor` | `setDescriptionList(java.lang.String... values)` Creates for all String objects representing `description` elements, a new `description` element
`Application5Descriptor` | `setDisplayName(java.lang.String displayName)` Creates a new `display-name` element
`Application5Descriptor` | `setDisplayNameList(java.lang.String... values)` Creates for all String objects representing `display-name` elements, a new `display-name` element
`Application5Descriptor` | `setLibraryDirectory(java.lang.String libraryDirectory)` If not already created, a new `library-directory` element with the given value will be created.
`Application5Descriptor` | `setVersion(java.lang.String version)` Sets the `version` attribute

Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.NodeProviderImplBase
`exportAsString, exportTo`

Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
`getDescriptorName`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
`exportAsString, exportTo, getDescriptorName`

Constructor Detail

### Application5DescriptorImpl

    public Application5DescriptorImpl(java.lang.String descriptorName)

### Application5DescriptorImpl

    public Application5DescriptorImpl(java.lang.String descriptorName,
                                      org.jboss.shrinkwrap.descriptor.spi.Node node)

Method Detail

### getRootNode

    public org.jboss.shrinkwrap.descriptor.spi.Node getRootNode()

  Specified by:
    `getRootNode` in interface `org.jboss.shrinkwrap.descriptor.spi.NodeProvider`

### addDefaultNamespaces

    public Application5Descriptor addDefaultNamespaces()

  Specified by:
    `addDefaultNamespaces` in interface `org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>`

### addNamespace

    public Application5Descriptor addNamespace(java.lang.String name,
                                               java.lang.String value)

  Specified by:
    `addNamespace` in interface `org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>`

### getNamespaces

    public java.util.List<java.lang.String> getNamespaces()

  Specified by:
    `getNamespaces` in interface `org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>`

### removeAllNamespaces

    public Application5Descriptor removeAllNamespaces()

  Specified by:
    `removeAllNamespaces` in interface `org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<Application5Descriptor>`

### removeAllModule

    public Application5Descriptor removeAllModule()

  Removes all `module` elements

  Specified by:
    `removeAllModule` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### module

    public ModuleType<Application5Descriptor> module()

  Returns the `module` element

  Specified by:
    `module` in interface `Application5Descriptor`
  Returns:
    the node defined for the element `module`

### getModuleList

    public java.util.List<ModuleType<Application5Descriptor>> getModuleList()

  Returns all `module` elements

  Specified by:
    `getModuleList` in interface `Application5Descriptor`
  Returns:
    list of `module`

### removeAllSecurityRole

    public Application5Descriptor removeAllSecurityRole()

  Removes all `security-role` elements

  Specified by:
    `removeAllSecurityRole` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### securityRole

    public SecurityRoleType<Application5Descriptor> securityRole()

  Returns the `security-role` element

  Specified by:
    `securityRole` in interface `Application5Descriptor`
  Returns:
    the node defined for the element `security-role`

### getSecurityRoleList

    public java.util.List<SecurityRoleType<Application5Descriptor>> getSecurityRoleList()

  Returns all `security-role` elements

  Specified by:
    `getSecurityRoleList` in interface `Application5Descriptor`
  Returns:
    list of `security-role`

### setLibraryDirectory

    public Application5Descriptor setLibraryDirectory(java.lang.String libraryDirectory)

  If not already created, a new `library-directory` element with the given value will be created. Otherwise, the existing `library-directory` element will be updated with the given value.

  Specified by:
    `setLibraryDirectory` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### removeLibraryDirectory

    public Application5Descriptor removeLibraryDirectory()

  Removes the `library-directory` element

  Specified by:
    `removeLibraryDirectory` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### getLibraryDirectory

    public java.lang.String getLibraryDirectory()

  Returns the `library-directory` element

  Specified by:
    `getLibraryDirectory` in interface `Application5Descriptor`
  Returns:
    the node defined for the element `library-directory`

### setVersion

    public Application5Descriptor setVersion(java.lang.String version)

  Sets the `version` attribute

  Specified by:
    `setVersion` in interface `Application5Descriptor`
  Parameters:
    `version` - the value for the attribute `version`
  Returns:
    the current instance of `Application5Descriptor`

### removeVersion

    public Application5Descriptor removeVersion()

  Removes the `version` attribute

  Specified by:
    `removeVersion` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### getVersion

    public java.lang.String getVersion()

  Returns the `version` element

  Specified by:
    `getVersion` in interface `Application5Descriptor`
  Returns:
    the node defined for the element `version`

### setDescription

    public Application5Descriptor setDescription(java.lang.String description)

  Creates a new `description` element

  Specified by:
    `setDescription` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### setDescriptionList

    public Application5Descriptor setDescriptionList(java.lang.String... values)

  Creates for all String objects representing `description` elements, a new `description` element

  Specified by:
    `setDescriptionList` in interface `Application5Descriptor`
  Parameters:
    `list` - of `description` objects
  Returns:
    the current instance of `Application5Descriptor`

### removeAllDescription

    public Application5Descriptor removeAllDescription()

  Removes the `description` element

  Specified by:
    `removeAllDescription` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### getDescriptionList

    public java.util.List<java.lang.String> getDescriptionList()

  Returns all `description` elements

  Specified by:
    `getDescriptionList` in interface `Application5Descriptor`
  Returns:
    list of `description`

### setDisplayName

    public Application5Descriptor setDisplayName(java.lang.String displayName)

  Creates a new `display-name` element

  Specified by:
    `setDisplayName` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### setDisplayNameList

    public Application5Descriptor setDisplayNameList(java.lang.String... values)

  Creates for all String objects representing `display-name` elements, a new `display-name` element

  Specified by:
    `setDisplayNameList` in interface `Application5Descriptor`
  Parameters:
    `list` - of `display-name` objects
  Returns:
    the current instance of `Application5Descriptor`

### removeAllDisplayName

    public Application5Descriptor removeAllDisplayName()

  Removes the `display-name` element

  Specified by:
    `removeAllDisplayName` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### getDisplayNameList

    public java.util.List<java.lang.String> getDisplayNameList()

  Returns all `display-name` elements

  Specified by:
    `getDisplayNameList` in interface `Application5Descriptor`
  Returns:
    list of `display-name`

### removeAllIcon

    public Application5Descriptor removeAllIcon()

  Removes all `icon` elements

  Specified by:
    `removeAllIcon` in interface `Application5Descriptor`
  Returns:
    the current instance of `Application5Descriptor`

### icon

    public IconType<Application5Descriptor> icon()

  Returns the `icon` element

  Specified by:
    `icon` in interface `Application5Descriptor`
  Returns:
    the node defined for the element `icon`

### getIconList

    public java.util.List<IconType<Application5Descriptor>> getIconList()

  Returns all `icon` elements

  Specified by:
    `getIconList` in interface `Application5Descriptor`
  Returns:
    list of `icon`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD