@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()
AttributeContainergetAttributes in interface AttributeContainerpublic Attribute findAttribute(String name)
findAttribute in interface AttributeContainerpublic Attribute findAttributeIgnoreCase(String name)
findAttributeIgnoreCase in interface AttributeContainerpublic String findAttValueIgnoreCase(String attName, String defaultValue)
AttributeContainerfindAttValueIgnoreCase in interface AttributeContainerpublic String getName()
getName in interface AttributeContainerpublic boolean remove(Attribute a)
AttributeContainerremove in interface AttributeContainera - remove this attributepublic boolean removeAttribute(String attName)
AttributeContainerremoveAttribute in interface AttributeContainerattName - if exists, remove this attributepublic boolean removeAttributeIgnoreCase(String attName)
AttributeContainerremoveAttributeIgnoreCase in interface AttributeContainerattName - if exists, remove this attributepublic void addAll(Iterable<Attribute> atts)
AttributeContaineraddAll in interface AttributeContainerpublic Attribute addAttribute(Attribute att)
AttributeContaineraddAttribute in interface AttributeContaineratt - add this Attribute