|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.reader.osm.WatchableTypeResult
public class WatchableTypeResult
At the top level we need to be able to watch to see if a result was found to implement stop-on-first-match, continue and the like.
Field Summary |
---|
Fields inherited from interface uk.me.parabola.mkgmap.reader.osm.TypeResult |
---|
NULL_RESULT |
Constructor Summary | |
---|---|
WatchableTypeResult(TypeResult result)
|
Method Summary | |
---|---|
void |
add(Element el,
GType type)
Add the resolved type to next stage in the map making process. |
boolean |
isActionsOnly()
|
boolean |
isFound()
Was a result found. |
boolean |
isResolved()
Are we all done for this element? |
void |
reset()
Reset the watcher for the next element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WatchableTypeResult(TypeResult result)
Method Detail |
---|
public void add(Element el, GType type)
TypeResult
add
in interface TypeResult
el
- The OSM element.type
- The Garmin type that this resolves too.public boolean isFound()
public boolean isResolved()
public boolean isActionsOnly()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |