@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, wait
filter, findAttValueIgnoreCase, hasAttribute, hasAttributeIgnoreCase, iterator
public 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.Object
public void toString(java.util.Formatter f, Indent indent)
public AttributeContainer attributes()
@Deprecated public java.util.List<Attribute> getAttributes()
AttributeContainer
getAttributes
in interface AttributeContainer
public boolean isEmpty()
AttributeContainer
isEmpty
in interface AttributeContainer
@Deprecated public Attribute findAttribute(java.lang.String name)
AttributeContainer
findAttribute
in interface AttributeContainer
@Deprecated public Attribute findAttributeIgnoreCase(java.lang.String name)
AttributeContainer
findAttributeIgnoreCase
in interface AttributeContainer
@Deprecated public java.lang.String findAttributeString(java.lang.String attName, java.lang.String defaultValue)
AttributeContainer
findAttributeString
in interface AttributeContainer
@Deprecated public double findAttributeDouble(java.lang.String attName, double defaultValue)
AttributeContainer
findAttributeDouble
in interface AttributeContainer
@Deprecated public int findAttributeInteger(java.lang.String attName, int defaultValue)
AttributeContainer
findAttributeInteger
in interface AttributeContainer
public java.lang.String getName()
AttributeContainer
getName
in interface AttributeContainer
public boolean remove(Attribute a)
AttributeContainer
remove
in interface AttributeContainer
a
- remove this attributepublic boolean removeAttribute(java.lang.String attName)
AttributeContainer
removeAttribute
in interface AttributeContainer
attName
- if exists, remove this attributepublic boolean removeAttributeIgnoreCase(java.lang.String attName)
AttributeContainer
removeAttributeIgnoreCase
in interface AttributeContainer
attName
- if exists, remove this attributepublic void addAll(java.lang.Iterable<Attribute> atts)
AttributeContainer
addAll
in interface AttributeContainer
public Attribute addAttribute(Attribute att)
AttributeContainer
addAttribute
in interface AttributeContainer
att
- add this Attribute