@Immutable public class CoverageTransform extends Object implements AttributeContainer
Constructor and Description |
---|
CoverageTransform(String name,
AttributeContainerHelper attributes,
boolean isHoriz) |
Modifier and Type | Method and Description |
---|---|
void |
addAll(Iterable<Attribute> atts)
Add all; replace old if has same name
|
Attribute |
addAttribute(Attribute att)
Add new or replace old if has same name
|
Attribute |
findAttribute(String name) |
Attribute |
findAttributeIgnoreCase(String name) |
String |
findAttValueIgnoreCase(String attName,
String defaultValue)
Find a String-valued Attribute by Attribute name (ignore case), return the (string) value of the Attribute.
|
List<Attribute> |
getAttributes()
Returns the list of attributes for this variable.
|
String |
getName() |
ProjectionImpl |
getProjection() |
boolean |
isHoriz() |
boolean |
remove(Attribute a)
Remove an Attribute : uses the attribute hashCode to find it.
|
boolean |
removeAttribute(String attName)
Remove an Attribute by name.
|
boolean |
removeAttributeIgnoreCase(String attName)
Remove an Attribute by name, ignoring case
|
String |
toString() |
void |
toString(Formatter f,
Indent indent) |
public CoverageTransform(String name, AttributeContainerHelper attributes, boolean isHoriz)
public boolean isHoriz()
public ProjectionImpl getProjection()
public List<Attribute> getAttributes()
AttributeContainer
getAttributes
in interface AttributeContainer
public Attribute findAttribute(String name)
findAttribute
in interface AttributeContainer
public Attribute findAttributeIgnoreCase(String name)
findAttributeIgnoreCase
in interface AttributeContainer
public String findAttValueIgnoreCase(String attName, String defaultValue)
AttributeContainer
findAttValueIgnoreCase
in interface AttributeContainer
public String getName()
getName
in interface AttributeContainer
public boolean remove(Attribute a)
AttributeContainer
remove
in interface AttributeContainer
a
- remove this attributepublic boolean removeAttribute(String attName)
AttributeContainer
removeAttribute
in interface AttributeContainer
attName
- if exists, remove this attributepublic boolean removeAttributeIgnoreCase(String attName)
AttributeContainer
removeAttributeIgnoreCase
in interface AttributeContainer
attName
- if exists, remove this attributepublic void addAll(Iterable<Attribute> atts)
AttributeContainer
addAll
in interface AttributeContainer
public Attribute addAttribute(Attribute att)
AttributeContainer
addAttribute
in interface AttributeContainer
att
- add this Attribute