name
Constructor and Description |
---|
Manifest.ExistingAttribute(Attributes attributes,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String value)
Add a new value to this attribute - making it multivalued.
|
String |
getKey()
Get the attribute's Key - its name in lower case.
|
String |
getValue()
Get the Attribute's value.
|
Iterator<String> |
iterator() |
void |
setName(String name)
Set the Attribute's name; required
|
void |
setValue(String value)
Set the Attribute's value; required
|
equals, hashCode
getName
public Manifest.ExistingAttribute(Attributes attributes, String name)
public Iterator<String> iterator()
iterator
in interface Iterable<String>
iterator
in class Manifest.Attribute
public void setName(String name)
Manifest.Attribute
setName
in class Manifest.Attribute
name
- the attribute's namepublic String getKey()
Manifest.Attribute
getKey
in class Manifest.Attribute
public void setValue(String value)
Manifest.Attribute
setValue
in class Manifest.Attribute
value
- the attribute's valuepublic String getValue()
Manifest.Attribute
getValue
in class Manifest.Attribute
public void addValue(String value)
Manifest.Attribute
addValue
in class Manifest.Attribute
value
- the attribute's additional valueCopyright © 2001-2015 Codehaus. All Rights Reserved.