org.openstreetmap.josm.data.gpx
Class WithAttributes

java.lang.Object
  extended by org.openstreetmap.josm.data.gpx.WithAttributes
Direct Known Subclasses:
GpxData, GpxRoute, WayPoint

public class WithAttributes
extends java.lang.Object

Base class for various classes in the GPX model. The "attr" hash is used to store the XML payload (not only XML attributes!)


Field Summary
 java.util.Map<java.lang.String,java.lang.Object> attr
           
 
Constructor Summary
WithAttributes()
           
 
Method Summary
 java.lang.String getString(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attr

public java.util.Map<java.lang.String,java.lang.Object> attr
Constructor Detail

WithAttributes

public WithAttributes()
Method Detail

getString

public java.lang.String getString(java.lang.String key)


JOSM