|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.gpx.WithAttributes
public class WithAttributes
Base class for various classes in the GPX model.
Field Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
attr
The "attr" hash is used to store the XML payload (not only XML attributes!) |
Constructor Summary | |
---|---|
WithAttributes()
|
Method Summary | |
---|---|
java.util.Collection<?> |
getCollection(java.lang.String key)
Returns the Collection value to which the specified key is mapped, or null if this map contains no Collection mapping for the key. |
java.lang.String |
getString(java.lang.String key)
Returns the String value to which the specified key is mapped, or null if this map contains no String mapping for the key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Map<java.lang.String,java.lang.Object> attr
Constructor Detail |
---|
public WithAttributes()
Method Detail |
---|
public java.lang.String getString(java.lang.String key)
null
if this map contains no String mapping for the key.
key
- the key whose associated value is to be returned
null
if this map contains no String mapping for the keypublic java.util.Collection<?> getCollection(java.lang.String key)
null
if this map contains no Collection mapping for the key.
key
- the key whose associated value is to be returned
null
if this map contains no Collection mapping for the key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |