ShrinkWrap Descriptors API Base 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api
Interface DescriptorNamespace<T>


public interface DescriptorNamespace<T>


Method Summary
 T addDefaultNamespaces()
          Adds the default namespaces as defined in the specification.
 T addNamespace(String name, String value)
          Adds a new namespace.
 List<String> getNamespaces()
          Returns all existing namespaces.
 T removeAllNamespaces()
          Removes all existing namespaces.
 

Method Detail

addDefaultNamespaces

T addDefaultNamespaces()
Adds the default namespaces as defined in the specification.

Returns:
the current instance of T.

addNamespace

T addNamespace(String name,
               String value)
Adds a new namespace.

Parameters:
name - the name of the namespace
value - the value of the namespace
Returns:
the current instance of T.

getNamespaces

List<String> getNamespaces()
Returns all existing namespaces.

Returns:
a list of all existing namespaces.

removeAllNamespaces

T removeAllNamespaces()
Removes all existing namespaces.

Returns:
the current instance of T.

ShrinkWrap Descriptors API Base 2.0.0-alpha-3

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