org.apache.wicket.markup.parser
Class TagAttributes
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<java.lang.String,java.lang.Object>
org.apache.wicket.util.value.ValueMap
org.apache.wicket.markup.parser.TagAttributes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>, IValueMap
public class TagAttributes
- extends ValueMap
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
|
void |
putAll(java.util.Map map)
|
java.lang.Object |
putInternal(java.lang.String key,
java.lang.Object value)
Modifying the 'id' attribute should be made via Component.setMarkupId(). |
Methods inherited from class org.apache.wicket.util.value.ValueMap |
add, clear, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable, remove, toString |
Methods inherited from class java.util.LinkedHashMap |
containsValue, get, removeEldestEntry |
Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, values |
TagAttributes
public TagAttributes()
- Constructs empty
ValueMap
.
TagAttributes
public TagAttributes(java.util.Map map)
- Copy constructor.
- Parameters:
map
- the ValueMap
to copy
put
public final java.lang.Object put(java.lang.String key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map<java.lang.String,java.lang.Object>
- Overrides:
put
in class ValueMap
- See Also:
ValueMap.put(java.lang.String, java.lang.Object)
putInternal
public final java.lang.Object putInternal(java.lang.String key,
java.lang.Object value)
- Modifying the 'id' attribute should be made via Component.setMarkupId(). But the markup
parser must still be able to add the 'id' attribute without warning.
- Parameters:
key
- value
-
- Returns:
- The old value
putAll
public final void putAll(java.util.Map map)
- Specified by:
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
- Overrides:
putAll
in class ValueMap
- See Also:
ValueMap.putAll(java.util.Map)
Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.