|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.reader.osm.Element
uk.me.parabola.mkgmap.reader.osm.Relation
public abstract class Relation
Represent a Relation.
Constructor Summary | |
---|---|
Relation()
|
Method Summary | |
---|---|
void |
addElement(java.lang.String role,
Element el)
Add a (role, Element) pair to this Relation. |
java.util.List<java.util.Map.Entry<java.lang.String,Element>> |
getElements()
Get the ordered list of relation members. |
java.lang.String |
kind()
|
abstract void |
processElements()
Invoked after addElement() has been invoked on all Node and Way members of the relations. |
Methods inherited from class uk.me.parabola.mkgmap.reader.osm.Element |
---|
addTag, copy, copyTags, deleteTag, getEntryIteratable, getId, getName, getTag, getTagsWithPrefix, iterator, removeAllTags, setId, setName, toBrowseURL, toTagString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Relation()
Method Detail |
---|
public void addElement(java.lang.String role, Element el)
role
- The role this element performs in this relationel
- The Element addedpublic abstract void processElements()
public java.util.List<java.util.Map.Entry<java.lang.String,Element>> getElements()
public java.lang.String kind()
kind
in class Element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |