org.apache.batik.transcoder
public class TranscodingHints extends HashMap
| Modifier and Type | Class and Description |
|---|---|
static class |
TranscodingHints.Key
Defines the base type of all keys used to control various
aspects of the transcoding operations.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TranscodingHints()
Constructs a new empty TranscodingHints.
|
TranscodingHints(Map init)
Constructs a new TranscodingHints with keys and values
initialized from the specified Map object (which may be null).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key)
Returns true if this TranscodingHints contains a
mapping for the specified key, false otherwise.
|
Object |
get(Object key)
Returns the value to which the specified key is mapped.
|
Object |
put(Object key,
Object value)
Maps the specified key to the specified value
in this TranscodingHints object.
|
void |
putAll(Map m)
Copies all of the mappings from the specified Map
to this TranscodingHints.
|
void |
putAll(TranscodingHints hints)
Copies all of the keys and corresponding values from the
specified TranscodingHints object to this
TranscodingHints object.
|
Object |
remove(Object key)
Removes the key and its corresponding value from this
TranscodingHints object.
|
clear, clone, containsValue, entrySet, isEmpty, keySet, size, valuesequals, hashCode, toStringpublic TranscodingHints()
public TranscodingHints(Map init)
init - a map of key/value pairs to initialize the hints
or null if the object should be emptypublic boolean containsKey(Object key)
containsKey in interface MapcontainsKey in class HashMapkey - key whose present in this TranscodingHints
is to be tested.ClassCastException - key is not of type
TranscodingHints.Keypublic Object get(Object key)
get in interface Mapget in class HashMapkey - a trancoding hint keyClassCastException - key is not of type
TranscodingHints.Keypublic Object put(Object key, Object value)
put in interface Mapput in class HashMapkey - the trancoding hint key.value - the trancoding hint value.IllegalArgumentException - value is not
appropriate for the specified key.ClassCastException - key is not of type
TranscodingHints.Keypublic Object remove(Object key)
remove in interface Mapremove in class HashMapkey - the trancoding hints key that needs to be removedClassCastException - key is not of type
TranscodingHints.Keypublic void putAll(TranscodingHints hints)
public void putAll(Map m)
putAll in interface MapputAll in class HashMapm - mappings to be stored in this TranscodingHints.ClassCastException - key is not of type
TranscodingHints.KeyCopyright ? 2008 Apache Software Foundation. All Rights Reserved.