org.jboss.shrinkwrap.descriptor.api.facespartialresponse20
Interface Attribute<T>

All Superinterfaces:
Child<T>

public interface Attribute<T>
extends Child<T>

This interface defines the contract for the attribute xsd type

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 String getName()
          Returns the name attribute
 String getValue()
          Returns the value attribute
 Attribute<T> name(String name)
          Sets the name attribute
 Attribute<T> removeName()
          Removes the name attribute
 Attribute<T> removeValue()
          Removes the value attribute
 Attribute<T> value(String value)
          Sets the value attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

Attribute<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of Attribute

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

Attribute<T> removeName()
Removes the name attribute

Returns:
the current instance of Attribute

value

Attribute<T> value(String value)
Sets the value attribute

Parameters:
value - the value for the attribute value
Returns:
the current instance of Attribute

getValue

String getValue()
Returns the value attribute

Returns:
the value defined for the attribute value

removeValue

Attribute<T> removeValue()
Removes the value attribute

Returns:
the current instance of Attribute


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.