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, hashCodegetNamepublic Manifest.ExistingAttribute(Attributes attributes, String name)
public Iterator<String> iterator()
iterator in interface Iterable<String>iterator in class Manifest.Attributepublic void setName(String name)
Manifest.AttributesetName in class Manifest.Attributename - the attribute's namepublic String getKey()
Manifest.AttributegetKey in class Manifest.Attributepublic void setValue(String value)
Manifest.AttributesetValue in class Manifest.Attributevalue - the attribute's valuepublic String getValue()
Manifest.AttributegetValue in class Manifest.Attributepublic void addValue(String value)
Manifest.AttributeaddValue in class Manifest.Attributevalue - the attribute's additional valueCopyright © 2001–2018 Codehaus Plexus. All rights reserved.