org.apache.wicket.markup.parser
Class TagAttributes
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
org.apache.wicket.util.value.ValueMap
org.apache.wicket.markup.parser.TagAttributes
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>, IValueMap
public class TagAttributes
- extends ValueMap
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
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 |
TagAttributes
public TagAttributes()
- Constructs empty
ValueMap
.
TagAttributes
public TagAttributes(IValueMap map)
- Copy constructor.
- Parameters:
map
- the ValueMap
to copy
put
public final Object put(String key,
Object value)
- Specified by:
put
in interface Map<String,Object>
- Overrides:
put
in class ValueMap
putInternal
public final Object putInternal(String key,
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(Map<? extends String,?> map)
- Specified by:
putAll
in interface Map<String,Object>
- Overrides:
putAll
in class ValueMap
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.