@Immutable public class CoverageTransform extends java.lang.Object implements AttributeContainer
| Constructor and Description |
|---|
CoverageTransform(java.lang.String name,
AttributeContainer attributes,
boolean isHoriz) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(java.lang.Iterable<Attribute> atts)
Add all; replace old if has same name
|
Attribute |
addAttribute(Attribute att)
Add new or replace old if has same name
|
AttributeContainer |
attributes()
The attributes contained by this CoverageTransform.
|
Attribute |
findAttribute(java.lang.String name)
Deprecated.
Use attributes()
|
double |
findAttributeDouble(java.lang.String attName,
double defaultValue)
Deprecated.
Use attributes()
|
Attribute |
findAttributeIgnoreCase(java.lang.String name)
Deprecated.
Use attributes()
|
int |
findAttributeInteger(java.lang.String attName,
int defaultValue)
Deprecated.
Use attributes()
|
java.lang.String |
findAttributeString(java.lang.String attName,
java.lang.String defaultValue)
Deprecated.
Use attributes()
|
java.util.List<Attribute> |
getAttributes()
Deprecated.
Use attributes()
|
java.lang.String |
getName()
Get the (optional) name of the AttributeContainer.
|
ProjectionImpl |
getProjection() |
boolean |
isEmpty()
Deprecated.
Use attributes()
|
boolean |
isHoriz() |
boolean |
remove(Attribute a)
Remove an Attribute : uses the attribute hashCode to find it.
|
boolean |
removeAttribute(java.lang.String attName)
Remove an Attribute by name.
|
boolean |
removeAttributeIgnoreCase(java.lang.String attName)
Remove an Attribute by name, ignoring case
|
java.lang.String |
toString() |
void |
toString(java.util.Formatter f,
Indent indent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfilter, findAttValueIgnoreCase, hasAttribute, hasAttributeIgnoreCase, iteratorpublic CoverageTransform(java.lang.String name,
AttributeContainer attributes,
boolean isHoriz)
public boolean isHoriz()
public ProjectionImpl getProjection()
public java.lang.String toString()
toString in class java.lang.Objectpublic void toString(java.util.Formatter f,
Indent indent)
public AttributeContainer attributes()
@Deprecated public java.util.List<Attribute> getAttributes()
AttributeContainergetAttributes in interface AttributeContainerpublic boolean isEmpty()
AttributeContainerisEmpty in interface AttributeContainer@Deprecated public Attribute findAttribute(java.lang.String name)
AttributeContainerfindAttribute in interface AttributeContainer@Deprecated public Attribute findAttributeIgnoreCase(java.lang.String name)
AttributeContainerfindAttributeIgnoreCase in interface AttributeContainer@Deprecated
public java.lang.String findAttributeString(java.lang.String attName,
java.lang.String defaultValue)
AttributeContainerfindAttributeString in interface AttributeContainer@Deprecated
public double findAttributeDouble(java.lang.String attName,
double defaultValue)
AttributeContainerfindAttributeDouble in interface AttributeContainer@Deprecated
public int findAttributeInteger(java.lang.String attName,
int defaultValue)
AttributeContainerfindAttributeInteger in interface AttributeContainerpublic java.lang.String getName()
AttributeContainergetName in interface AttributeContainerpublic boolean remove(Attribute a)
AttributeContainerremove in interface AttributeContainera - remove this attributepublic boolean removeAttribute(java.lang.String attName)
AttributeContainerremoveAttribute in interface AttributeContainerattName - if exists, remove this attributepublic boolean removeAttributeIgnoreCase(java.lang.String attName)
AttributeContainerremoveAttributeIgnoreCase in interface AttributeContainerattName - if exists, remove this attributepublic void addAll(java.lang.Iterable<Attribute> atts)
AttributeContaineraddAll in interface AttributeContainerpublic Attribute addAttribute(Attribute att)
AttributeContaineraddAttribute in interface AttributeContaineratt - add this Attribute