Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W X 

A

action - Variable in class de.westnordost.osmapi.notes.NoteComment
 
add(int, T) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
add(T) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
addAll(int, Collection<? extends T>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
addAll(Collection<? extends T>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
addField(String, String) - Method in class de.westnordost.osmapi.common.FormDataWriter
 
addFileField(String, String, ApiRequestWriter) - Method in class de.westnordost.osmapi.common.FormDataWriter
 
ADMINISTRATOR - Static variable in class de.westnordost.osmapi.user.UserRole
 
ApiRequestWriter - Interface in de.westnordost.osmapi
Handles writing data to an API request.
ApiResponseReader<T> - Interface in de.westnordost.osmapi
Handles the response from the API: Parses whatever comes through the input stream and returns a result.
attribute(String, String) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, float) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, double) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, int) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, long) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, byte) - Method in class de.westnordost.osmapi.common.XmlWriter
 
attribute(String, boolean) - Method in class de.westnordost.osmapi.common.XmlWriter
 

B

begin(String) - Method in class de.westnordost.osmapi.common.XmlWriter
 
boundingBox - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
the bounding box that includes all changes of this changeset.
BoundingBox - Class in de.westnordost.osmapi.map.data
A rectangle in latitude longitude coordinates.
BoundingBox(double, double, double, double) - Constructor for class de.westnordost.osmapi.map.data.BoundingBox
 
BoundingBox(LatLon, LatLon) - Constructor for class de.westnordost.osmapi.map.data.BoundingBox
 
byBounds(BoundingBox) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byChangesets(Collection<Long>) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byChangesets(long...) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byClosedAfter(Date) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byOpenSomeTimeBetween(Date, Date) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
Filter by changesets that have at one time been open during the given time range
byTerm(String) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
byUser(String) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byUser(long) - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
byUser(String) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
byUser(long) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 

C

Capabilities - Class in de.westnordost.osmapi.capabilities
(Current) capabilities of the osm server.
Capabilities() - Constructor for class de.westnordost.osmapi.capabilities.Capabilities
 
Capabilities.ApiStatus - Enum in de.westnordost.osmapi.capabilities
 
CapabilitiesDao - Class in de.westnordost.osmapi.capabilities
Get server capabilities
CapabilitiesDao(OsmConnection) - Constructor for class de.westnordost.osmapi.capabilities.CapabilitiesDao
 
CapabilitiesParser - Class in de.westnordost.osmapi.capabilities
Parses the osm server capabilites and limits (API 0.6).
CapabilitiesParser() - Constructor for class de.westnordost.osmapi.capabilities.CapabilitiesParser
 
CHANGE_PREFERENCES - Static variable in class de.westnordost.osmapi.user.Permission
 
Changeset - Class in de.westnordost.osmapi.changesets
Short info for a changeset.
Changeset() - Constructor for class de.westnordost.osmapi.changesets.Changeset
 
ChangesetInfo - Class in de.westnordost.osmapi.changesets
Includes information for a changeset inclusive the changeset discussion but exclusive the elements that were changed in the changeset.
ChangesetInfo() - Constructor for class de.westnordost.osmapi.changesets.ChangesetInfo
 
ChangesetNote - Class in de.westnordost.osmapi.changesets
A post in the changeset discussion.
ChangesetNote() - Constructor for class de.westnordost.osmapi.changesets.ChangesetNote
 
ChangesetParser - Class in de.westnordost.osmapi.changesets
Parses changeset infos.
ChangesetParser(Handler<ChangesetInfo>) - Constructor for class de.westnordost.osmapi.changesets.ChangesetParser
 
changesetsCount - Variable in class de.westnordost.osmapi.user.UserInfo
aka the number of edits
ChangesetsDao - Class in de.westnordost.osmapi.changesets
Gets information for, searches for and shows changeset discussions.
ChangesetsDao(OsmConnection) - Constructor for class de.westnordost.osmapi.changesets.ChangesetsDao
 
CHARSET - Static variable in class de.westnordost.osmapi.OsmConnection
charset we use for everything (UTF-8)
checkValidity(double, double) - Static method in class de.westnordost.osmapi.map.data.LatLons
 
checkValidity(LatLon) - Static method in class de.westnordost.osmapi.map.data.LatLons
 
clear() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
clear() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
clientId - Variable in class de.westnordost.osmapi.map.changes.DiffElement
aka old_id: the (placeholder) id the element had when the client sent it.
close(long, String) - Method in class de.westnordost.osmapi.notes.NotesDao
Close aka resolve the note with the given id and reason.
close(long) - Method in class de.westnordost.osmapi.notes.NotesDao
Close aka resolve the note with the given id without providing a reason.
closeChangeset(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Closes the given changeset.
comment(long, String) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Add a comment to the given changeset.
comment(long, String) - Method in class de.westnordost.osmapi.notes.NotesDao
 
comments - Variable in class de.westnordost.osmapi.notes.Note
 
considersHisContributionsAsPublicDomain - Variable in class de.westnordost.osmapi.user.UserDetails
 
contains(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
containsAll(Collection<?>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
containsKey(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
containsValue(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
convertToSimpleDateFormatCompatible(String) - Static method in class de.westnordost.osmapi.common.Iso8601CompatibleDateFormat
 
create(LatLon, String) - Method in class de.westnordost.osmapi.notes.NotesDao
Create a new note at the given location
create(String, GpsTraceDetails.Visibility, String, List<String>, Iterable<GpsTrackpoint>) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Upload a new trace of trackpoints.
create(String, GpsTraceDetails.Visibility, String, Iterable<GpsTrackpoint>) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Upload a new trace with no tags
createdAfter(Date) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
createdBefore(Date) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
createdDate - Variable in class de.westnordost.osmapi.user.UserInfo
 
createError(int, String, String) - Static method in class de.westnordost.osmapi.OsmApiErrorFactory
 
createNode(long, int, Double, Double, Map<String, String>, Changeset, Date) - Method in interface de.westnordost.osmapi.map.MapDataFactory
Create a node from the given data
createNode(long, int, Double, Double, Map<String, String>, Changeset, Date) - Method in class de.westnordost.osmapi.map.OsmMapDataFactory
 
createRelation(long, int, List<RelationMember>, Map<String, String>, Changeset, Date) - Method in interface de.westnordost.osmapi.map.MapDataFactory
Create a relation from the given data
createRelation(long, int, List<RelationMember>, Map<String, String>, Changeset, Date) - Method in class de.westnordost.osmapi.map.OsmMapDataFactory
 
createRelationMember(long, String, Element.Type) - Method in interface de.westnordost.osmapi.map.MapDataFactory
Create a relation member from the given data
createRelationMember(long, String, Element.Type) - Method in class de.westnordost.osmapi.map.OsmMapDataFactory
 
createUser(long, String) - Method in class de.westnordost.osmapi.user.UserDetailsParser
 
createUser(long, String) - Method in class de.westnordost.osmapi.user.UserInfoParser
 
createWay(long, int, List<Long>, Map<String, String>, Changeset, Date) - Method in interface de.westnordost.osmapi.map.MapDataFactory
Create a way from the given data
createWay(long, int, List<Long>, Map<String, String>, Changeset, Date) - Method in class de.westnordost.osmapi.map.OsmMapDataFactory
 
crosses180thMeridian() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 

D

databaseStatus - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
date - Variable in class de.westnordost.osmapi.changesets.Changeset
the date of the changeset.
date - Variable in class de.westnordost.osmapi.changesets.ChangesetNote
 
date - Variable in class de.westnordost.osmapi.notes.NoteComment
 
date - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
 
dateClosed - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
the date the changeset was closed.
dateClosed - Variable in class de.westnordost.osmapi.notes.Note
the date the note was closed.
dateCreated - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
the date the changeset was created.
dateCreated - Variable in class de.westnordost.osmapi.notes.Note
 
de.westnordost.osmapi - package de.westnordost.osmapi
 
de.westnordost.osmapi.capabilities - package de.westnordost.osmapi.capabilities
 
de.westnordost.osmapi.changesets - package de.westnordost.osmapi.changesets
 
de.westnordost.osmapi.common - package de.westnordost.osmapi.common
 
de.westnordost.osmapi.common.errors - package de.westnordost.osmapi.common.errors
 
de.westnordost.osmapi.map - package de.westnordost.osmapi.map
 
de.westnordost.osmapi.map.changes - package de.westnordost.osmapi.map.changes
 
de.westnordost.osmapi.map.data - package de.westnordost.osmapi.map.data
 
de.westnordost.osmapi.map.handler - package de.westnordost.osmapi.map.handler
 
de.westnordost.osmapi.notes - package de.westnordost.osmapi.notes
 
de.westnordost.osmapi.traces - package de.westnordost.osmapi.traces
 
de.westnordost.osmapi.user - package de.westnordost.osmapi.user
 
DefaultMapDataHandler - Class in de.westnordost.osmapi.map.handler
Empty implementation of the map data handler
DefaultMapDataHandler() - Constructor for class de.westnordost.osmapi.map.handler.DefaultMapDataHandler
 
delete(long) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Delete one of the user's traces
delete(String) - Method in class de.westnordost.osmapi.user.UserPreferencesDao
Deletes the given preference key from the user preferences
description - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
may be empty/null
DiffElement - Class in de.westnordost.osmapi.map.changes
 
DiffElement() - Constructor for class de.westnordost.osmapi.map.changes.DiffElement
 
discussion - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
The changeset discussion.
displayName - Variable in class de.westnordost.osmapi.user.User
 
doParse(InputStream) - Method in class de.westnordost.osmapi.common.XmlParser
 
doubleToFixed(double) - Static method in class de.westnordost.osmapi.map.data.Fixed1E7
 

E

Element - Interface in de.westnordost.osmapi.map.data
 
Element.Type - Enum in de.westnordost.osmapi.map.data
 
elevation - Variable in class de.westnordost.osmapi.traces.GpsTrackpoint
 
end() - Method in class de.westnordost.osmapi.common.XmlWriter
 
entrySet() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.Fixed1E7LatLon
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.OsmLatLon
 
equals(Object) - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 

F

find(Handler<ChangesetInfo>, QueryChangesetsFilters) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Get a number of changesets that match the given filters.
find(Handler<Note>, QueryNotesFilters) - Method in class de.westnordost.osmapi.notes.NotesDao
Get a number of notes that match the given filters.
Fixed1E7 - Class in de.westnordost.osmapi.map.data
Fixed point number math with 7 decimal places.
Fixed1E7() - Constructor for class de.westnordost.osmapi.map.data.Fixed1E7
 
Fixed1E7LatLon - Class in de.westnordost.osmapi.map.data
A geo position (without height) implemented using two fixed 1E7 integers, meaning that the maximum precision is limited to 7 decimal points.
Fixed1E7LatLon(double, double) - Constructor for class de.westnordost.osmapi.map.data.Fixed1E7LatLon
 
format(Date) - Method in class de.westnordost.osmapi.common.OsmXmlDateFormat
 
format(Date) - Method in class de.westnordost.osmapi.notes.NotesDateFormat
 
format(Date) - Method in class de.westnordost.osmapi.traces.GpxDateFormat
 
FormDataWriter - Class in de.westnordost.osmapi.common
Writes the payload for a multipart/form-data form.
Override FormDataWriter.write() and add your form fields with FormDataWriter.addField(String, String) and FormDataWriter.addFileField(String, String, ApiRequestWriter) there.
FormDataWriter() - Constructor for class de.westnordost.osmapi.common.FormDataWriter
 

G

get() - Method in class de.westnordost.osmapi.capabilities.CapabilitiesDao
 
get(long) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Get the changeset information with the given id.
get() - Method in class de.westnordost.osmapi.common.ListHandler
 
get() - Method in class de.westnordost.osmapi.common.SingleElementHandler
 
get(int) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
get(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
get() - Method in class de.westnordost.osmapi.map.handler.ListOsmElementHandler
 
get() - Method in class de.westnordost.osmapi.map.handler.SingleOsmElementHandler
 
get(long) - Method in class de.westnordost.osmapi.notes.NotesDao
 
get(long) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Get information about a given GPS trace or null if it does not exist.
get() - Method in class de.westnordost.osmapi.user.PermissionsDao
 
get(long) - Method in class de.westnordost.osmapi.user.UserDao
 
get(String) - Method in class de.westnordost.osmapi.user.UserPreferencesDao
 
getAll() - Method in interface de.westnordost.osmapi.map.changes.MapDataChanges
 
getAll() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
getAll(BoundingBox, Handler<Note>, int, int) - Method in class de.westnordost.osmapi.notes.NotesDao
Retrieve all notes in the given area and feed them to the given handler.
getAll(BoundingBox, String, Handler<Note>, int, int) - Method in class de.westnordost.osmapi.notes.NotesDao
Retrieve those notes in the given area that match the given search string
getAll(BoundingBox, Handler<GpsTrackpoint>, int) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Get all the trackpoints in the given bounding box.
getAll(Collection<Long>) - Method in class de.westnordost.osmapi.user.UserDao
 
getAll() - Method in class de.westnordost.osmapi.user.UserPreferencesDao
 
getApiUrl() - Method in class de.westnordost.osmapi.OsmConnection
 
getAsLeftBottomRightTopString() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getBooleanAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getByteAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getChangeset() - Method in interface de.westnordost.osmapi.map.data.Element
 
getChangeset() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getChangesetComment() - Method in class de.westnordost.osmapi.changesets.ChangesetInfo
A shortcut to getTags().get("comment")
getContentType() - Method in interface de.westnordost.osmapi.ApiRequestWriter
 
getContentType() - Method in class de.westnordost.osmapi.common.FormDataWriter
 
getContentType() - Method in class de.westnordost.osmapi.common.PlainTextWriter
 
getContentType() - Method in class de.westnordost.osmapi.common.XmlWriter
 
getCreations() - Method in interface de.westnordost.osmapi.map.changes.MapDataChanges
 
getCreations() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
getData(long, MapDataChangesHandler) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Get map data changes associated with the given changeset, using the default OsmMapDataFactory
getData(long, MapDataChangesHandler, MapDataFactory) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Get map data changes associated with the given changeset.
getData(long, Handler<GpsTrackpoint>) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Get all trackpoints contained in the given trace id.
getDateEdited() - Method in interface de.westnordost.osmapi.map.data.Element
 
getDateEdited() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getDeletions() - Method in interface de.westnordost.osmapi.map.changes.MapDataChanges
 
getDeletions() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
getDescription() - Method in exception de.westnordost.osmapi.common.errors.OsmApiException
 
getDescription() - Method in exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
getDoubleAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getErrorCode() - Method in exception de.westnordost.osmapi.common.errors.OsmApiException
 
getErrorCode() - Method in exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
getErrorTitle() - Method in exception de.westnordost.osmapi.common.errors.OsmApiException
 
getErrorTitle() - Method in exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
getFloatAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getGenerator() - Method in class de.westnordost.osmapi.changesets.ChangesetInfo
A shortcut to getTags().get("created_by")
getId() - Method in interface de.westnordost.osmapi.map.data.Element
 
getId() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getIntAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getLatitude() - Method in class de.westnordost.osmapi.map.data.Fixed1E7LatLon
 
getLatitude() - Method in interface de.westnordost.osmapi.map.data.LatLon
 
getLatitude() - Method in class de.westnordost.osmapi.map.data.OsmLatLon
 
getLongAttribute(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
getLongitude() - Method in class de.westnordost.osmapi.map.data.Fixed1E7LatLon
 
getLongitude() - Method in interface de.westnordost.osmapi.map.data.LatLon
 
getLongitude() - Method in class de.westnordost.osmapi.map.data.OsmLatLon
 
getMap(BoundingBox, MapDataHandler) - Method in class de.westnordost.osmapi.map.MapDataDao
Feeds map data to the given MapDataHandler.
If not logged in, the Changeset for each returned element will be null
getMax() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getMaxLatitude() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getMaxLongitude() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getMembers() - Method in class de.westnordost.osmapi.map.data.OsmRelation
 
getMembers() - Method in interface de.westnordost.osmapi.map.data.Relation
 
getMin() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getMine(Handler<GpsTraceDetails>) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Pass all gps traces the current user uploaded to the given handler
getMine() - Method in class de.westnordost.osmapi.user.UserDao
 
getMinLatitude() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getMinLongitude() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
getModifications() - Method in interface de.westnordost.osmapi.map.changes.MapDataChanges
 
getModifications() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
getName() - Method in class de.westnordost.osmapi.common.XmlParser
 
getNode(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getNodeHistory(long, Handler<Node>) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Feeds all versions of the given node to the handler.
getNodeIds() - Method in class de.westnordost.osmapi.map.data.OsmWay
 
getNodeIds() - Method in interface de.westnordost.osmapi.map.data.Way
 
getNodes(Collection<Long>) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getNodeVersion(long, int) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Note that if not logged in, the Changeset for each returned element will be null
getOAuth() - Method in class de.westnordost.osmapi.OsmConnection
 
getParentName() - Method in class de.westnordost.osmapi.common.XmlParser
 
getPosition() - Method in interface de.westnordost.osmapi.map.data.Node
 
getPosition() - Method in class de.westnordost.osmapi.map.data.OsmNode
 
getRef() - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
getRef() - Method in interface de.westnordost.osmapi.map.data.RelationMember
 
getRelation(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getRelationComplete(long, MapDataHandler) - Method in class de.westnordost.osmapi.map.MapDataDao
Queries the relation with the given id plus all it's members and all nodes of ways that are members of the relation.
If not logged in, the Changeset for each returned element will be null
getRelationHistory(long, Handler<Relation>) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Feeds all versions of the given relation to the handler.
getRelations(Collection<Long>) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getRelationsForNode(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getRelationsForRelation(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getRelationsForWay(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getRelationVersion(long, int) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Note that if not logged in, the Changeset for each returned element will be null
getRole() - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
getRole() - Method in interface de.westnordost.osmapi.map.data.RelationMember
 
getSources() - Method in class de.westnordost.osmapi.changesets.ChangesetInfo
A shortcut to getTags().get("source").split(";")
getTags() - Method in interface de.westnordost.osmapi.map.data.Element
 
getTags() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getText() - Method in class de.westnordost.osmapi.common.XmlParser
 
getTimeout() - Method in class de.westnordost.osmapi.OsmConnection
 
getType() - Method in interface de.westnordost.osmapi.map.data.Element
 
getType() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getType() - Method in class de.westnordost.osmapi.map.data.OsmNode
 
getType() - Method in class de.westnordost.osmapi.map.data.OsmRelation
 
getType() - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
getType() - Method in class de.westnordost.osmapi.map.data.OsmWay
 
getType() - Method in interface de.westnordost.osmapi.map.data.RelationMember
 
getUserAgent() - Method in class de.westnordost.osmapi.OsmConnection
 
getVersion() - Method in interface de.westnordost.osmapi.map.data.Element
 
getVersion() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
getWay(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getWayComplete(long, MapDataHandler) - Method in class de.westnordost.osmapi.map.MapDataDao
Queries the way with the given id plus all nodes that are in referenced by it.
If not logged in, the Changeset for each returned element will be null
getWayHistory(long, Handler<Way>) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Feeds all versions of the given way to the handler.
getWays(Collection<Long>) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getWaysForNode(long) - Method in class de.westnordost.osmapi.map.MapDataDao
Note that if not logged in, the Changeset for each returned element will be null
getWayVersion(long, int) - Method in class de.westnordost.osmapi.map.MapDataHistoryDao
Note that if not logged in, the Changeset for each returned element will be null
GpsTraceDetails - Class in de.westnordost.osmapi.traces
Details aka meta informations for a GPS, so not the actual trace
GpsTraceDetails() - Constructor for class de.westnordost.osmapi.traces.GpsTraceDetails
 
GpsTraceDetails.Visibility - Enum in de.westnordost.osmapi.traces
See http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces for a more detailed description
gpsTracesCount - Variable in class de.westnordost.osmapi.user.UserInfo
 
GpsTracesDao - Class in de.westnordost.osmapi.traces
Create, get, edit and delete gpx traces
GpsTracesDao(OsmConnection) - Constructor for class de.westnordost.osmapi.traces.GpsTracesDao
 
GpsTracesParser - Class in de.westnordost.osmapi.traces
Parses the GPS traces response of the osm api (API 0.6).
GpsTracesParser(Handler<GpsTraceDetails>) - Constructor for class de.westnordost.osmapi.traces.GpsTracesParser
 
gpsTracesStatus - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
GpsTraceWriter - Class in de.westnordost.osmapi.traces
Writes only those GPS trace properties that can be changed in an update call to the API.
GpsTraceWriter(long, GpsTraceDetails.Visibility, String, List<String>) - Constructor for class de.westnordost.osmapi.traces.GpsTraceWriter
 
GpsTrackpoint - Class in de.westnordost.osmapi.traces
 
GpsTrackpoint(LatLon) - Constructor for class de.westnordost.osmapi.traces.GpsTrackpoint
 
GpxDateFormat - Class in de.westnordost.osmapi.traces
Gpx timestamps can optionally include milliseconds
GpxDateFormat() - Constructor for class de.westnordost.osmapi.traces.GpxDateFormat
 
GpxTrackParser - Class in de.westnordost.osmapi.traces
Parses the trackpoints from response of the osm api (API 0.6).
GpxTrackParser(Handler<GpsTrackpoint>) - Constructor for class de.westnordost.osmapi.traces.GpxTrackParser
 
GpxTrackWriter - Class in de.westnordost.osmapi.traces
 
GpxTrackWriter(String, Iterable<GpsTrackpoint>) - Constructor for class de.westnordost.osmapi.traces.GpxTrackWriter
 

H

handle(T) - Method in interface de.westnordost.osmapi.common.Handler
Called when a new object is created from the input stream
handle(T) - Method in class de.westnordost.osmapi.common.ListHandler
 
handle(T) - Method in class de.westnordost.osmapi.common.SingleElementHandler
 
handle(BoundingBox) - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
handle(Node) - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
handle(Way) - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
handle(Relation) - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
handle(BoundingBox) - Method in class de.westnordost.osmapi.map.handler.DefaultMapDataHandler
 
handle(Node) - Method in class de.westnordost.osmapi.map.handler.DefaultMapDataHandler
 
handle(Way) - Method in class de.westnordost.osmapi.map.handler.DefaultMapDataHandler
 
handle(Relation) - Method in class de.westnordost.osmapi.map.handler.DefaultMapDataHandler
 
handle(BoundingBox) - Method in interface de.westnordost.osmapi.map.handler.MapDataHandler
 
handle(Node) - Method in interface de.westnordost.osmapi.map.handler.MapDataHandler
 
handle(Way) - Method in interface de.westnordost.osmapi.map.handler.MapDataHandler
 
handle(Relation) - Method in interface de.westnordost.osmapi.map.handler.MapDataHandler
 
handle(BoundingBox) - Method in class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
handle(Node) - Method in class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
handle(Way) - Method in class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
handle(Relation) - Method in class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
handleElement(T) - Method in class de.westnordost.osmapi.map.handler.ListOsmElementHandler
 
handleElement(T) - Method in class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
handleElement(T) - Method in class de.westnordost.osmapi.map.handler.SingleOsmElementHandler
 
handleElement(T) - Method in class de.westnordost.osmapi.map.handler.WrapperOsmElementHandler
 
Handler<T> - Interface in de.westnordost.osmapi.common
 
handler - Variable in class de.westnordost.osmapi.user.UserInfoParser
 
hasAgreedToContributorTerms - Variable in class de.westnordost.osmapi.user.UserInfo
 
hasChanges() - Method in class de.westnordost.osmapi.map.changes.MapDataChangesWriter
 
hashCode() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
hashCode() - Method in class de.westnordost.osmapi.map.data.Fixed1E7LatLon
 
hashCode() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
hashCode() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
hashCode() - Method in class de.westnordost.osmapi.map.data.OsmLatLon
 
hashCode() - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
hasRole(String) - Method in class de.westnordost.osmapi.user.UserInfo
whether this user holds the given role.
hideClosedNotesAfter(int) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
homeLocation - Variable in class de.westnordost.osmapi.user.UserDetails
user's self-chosen home location.
homeZoom - Variable in class de.westnordost.osmapi.user.UserDetails
user's self-chosen home zoom level is something between 0-19.
horizontalDilutionOfPrecision - Variable in class de.westnordost.osmapi.traces.GpsTrackpoint
 

I

id - Variable in class de.westnordost.osmapi.changesets.Changeset
 
id - Variable in class de.westnordost.osmapi.notes.Note
 
id - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
 
id - Variable in class de.westnordost.osmapi.user.User
 
IdResponseReader - Class in de.westnordost.osmapi.common
Parses an id response sent via plain text by the server
IdResponseReader() - Constructor for class de.westnordost.osmapi.common.IdResponseReader
 
imageryBlacklistRegExes - Variable in class de.westnordost.osmapi.capabilities.Capabilities
list of regular expressions to match URLs from which the use of imagery is prohibited explicitly by the API.
inboxMessageCount - Variable in class de.westnordost.osmapi.user.UserDetails
 
indexOf(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
intToFixed(int) - Static method in class de.westnordost.osmapi.map.data.Fixed1E7
 
isAdministrator() - Method in class de.westnordost.osmapi.user.UserInfo
 
isAnonymous() - Method in class de.westnordost.osmapi.notes.NoteComment
 
isBlocked - Variable in class de.westnordost.osmapi.user.UserInfo
whether the user is currently blocked (=cannot make any modifications on the map).
isClosed() - Method in class de.westnordost.osmapi.map.data.OsmWay
 
isClosed() - Method in class de.westnordost.osmapi.notes.Note
 
isDatabaseReadable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isDatabaseWritable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isDeleted() - Method in interface de.westnordost.osmapi.map.data.Element
 
isDeleted() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
isEmpty() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
isEmpty() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
isFirstPointInTrackSegment - Variable in class de.westnordost.osmapi.traces.GpsTrackpoint
whether this trackpoint is the first point in a new segment/track (no differentiation made)
isGpsTracesReadable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isGpsTracesUploadable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isHidden() - Method in class de.westnordost.osmapi.notes.Note
 
isMapDataModifiable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isMapDataReadable() - Method in class de.westnordost.osmapi.capabilities.Capabilities
 
isModerator() - Method in class de.westnordost.osmapi.user.UserInfo
 
isModified() - Method in interface de.westnordost.osmapi.map.data.Element
 
isModified() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
isModified() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
isModified() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
isModified() - Method in class de.westnordost.osmapi.map.data.OsmNode
 
isModified() - Method in class de.westnordost.osmapi.map.data.OsmRelation
 
isModified() - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
isModified() - Method in class de.westnordost.osmapi.map.data.OsmWay
 
isModified() - Method in interface de.westnordost.osmapi.map.data.RelationMember
 
isNew() - Method in interface de.westnordost.osmapi.map.data.Element
 
isNew() - Method in class de.westnordost.osmapi.map.data.OsmElement
 
Iso8601CompatibleDateFormat - Class in de.westnordost.osmapi.common
Extended SimpleDateFormat with extended timezone parsing so that it is compatible to Iso 8601
Iso8601CompatibleDateFormat(String) - Constructor for class de.westnordost.osmapi.common.Iso8601CompatibleDateFormat
 
isOpen - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
 
isOpen() - Method in class de.westnordost.osmapi.notes.Note
 
isValid(LatLon) - Static method in class de.westnordost.osmapi.map.data.LatLons
 
isValid(double, double) - Static method in class de.westnordost.osmapi.map.data.LatLons
 
iterator() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 

K

keySet() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 

L

lastIndexOf(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
LatLon - Interface in de.westnordost.osmapi.map.data
A geo position (without height)
LatLons - Class in de.westnordost.osmapi.map.data
 
LatLons() - Constructor for class de.westnordost.osmapi.map.data.LatLons
 
limit(int) - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
ListHandler<T> - Class in de.westnordost.osmapi.common
Puts all the elements into a list
ListHandler() - Constructor for class de.westnordost.osmapi.common.ListHandler
 
listIterator() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
listIterator(int) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
ListOsmElementHandler<T> - Class in de.westnordost.osmapi.map.handler
Handler that expects a number of elements of the given type
ListOsmElementHandler(Class<T>) - Constructor for class de.westnordost.osmapi.map.handler.ListOsmElementHandler
 

M

makeAuthenticatedRequest(String, String, ApiResponseReader<T>) - Method in class de.westnordost.osmapi.OsmConnection
 
makeAuthenticatedRequest(String, String, ApiRequestWriter, ApiResponseReader<T>) - Method in class de.westnordost.osmapi.OsmConnection
 
makeAuthenticatedRequest(String, String) - Method in class de.westnordost.osmapi.OsmConnection
 
makeAuthenticatedRequest(String, String, ApiRequestWriter) - Method in class de.westnordost.osmapi.OsmConnection
 
makeRequest(String, ApiResponseReader<T>) - Method in class de.westnordost.osmapi.OsmConnection
 
makeRequest(String, boolean, ApiResponseReader<T>) - Method in class de.westnordost.osmapi.OsmConnection
 
makeRequest(String, String, boolean, ApiRequestWriter, ApiResponseReader<T>) - Method in class de.westnordost.osmapi.OsmConnection
Make a request to the Http Osm Api
MapDataChanges - Interface in de.westnordost.osmapi.map.changes
 
MapDataChangesHandler - Interface in de.westnordost.osmapi.map.changes
 
MapDataChangesParser - Class in de.westnordost.osmapi.map.changes
Parses a xml in <osmChange> format
MapDataChangesParser(MapDataChangesHandler, MapDataFactory) - Constructor for class de.westnordost.osmapi.map.changes.MapDataChangesParser
 
MapDataChangesWriter - Class in de.westnordost.osmapi.map.changes
Writes elements into a osmChange format
MapDataChangesWriter(long, Iterable<Element>) - Constructor for class de.westnordost.osmapi.map.changes.MapDataChangesWriter
 
MapDataDao - Class in de.westnordost.osmapi.map
Get and upload changes to map data
MapDataDao(OsmConnection, MapDataFactory) - Constructor for class de.westnordost.osmapi.map.MapDataDao
 
MapDataDao(OsmConnection) - Constructor for class de.westnordost.osmapi.map.MapDataDao
 
MapDataDiffParser - Class in de.westnordost.osmapi.map.changes
Parses a <diffResult> sent by the server when uploading a changeset
MapDataDiffParser(Handler<DiffElement>) - Constructor for class de.westnordost.osmapi.map.changes.MapDataDiffParser
 
MapDataFactory - Interface in de.westnordost.osmapi.map
 
MapDataHandler - Interface in de.westnordost.osmapi.map.handler
This class is fed the map data.
MapDataHistoryDao - Class in de.westnordost.osmapi.map
Get old versions of map data.
MapDataHistoryDao(OsmConnection, MapDataFactory) - Constructor for class de.westnordost.osmapi.map.MapDataHistoryDao
 
MapDataHistoryDao(OsmConnection) - Constructor for class de.westnordost.osmapi.map.MapDataHistoryDao
 
MapDataParser - Class in de.westnordost.osmapi.map
Parses the map data.
MapDataParser(MapDataHandler, MapDataFactory) - Constructor for class de.westnordost.osmapi.map.MapDataParser
 
mapDataStatus - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
MAX_VALUE - Static variable in class de.westnordost.osmapi.map.data.LatLons
 
maxElementsPerChangeset - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
maxMapQueryAreaInSquareDegrees - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
maxNodesInWay - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
maxNotesQueryAreaInSquareDegrees - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
maxPointsInGpsTracePerPage - Variable in class de.westnordost.osmapi.capabilities.Capabilities
See http://wiki.openstreetmap.org/wiki/API_v0.6#Retrieving_GPS_points
maxSupportedApiVersion - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
MIN_VALUE - Static variable in class de.westnordost.osmapi.map.data.LatLons
 
minSupportedApiVersion - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
MODERATOR - Static variable in class de.westnordost.osmapi.user.UserRole
 
ModificationAwareList<T> - Class in de.westnordost.osmapi.map.data
A List that registers if it has been changed from its original state.
ModificationAwareList(List<T>) - Constructor for class de.westnordost.osmapi.map.data.ModificationAwareList
 
ModificationAwareMap<K,V> - Class in de.westnordost.osmapi.map.data
A Map that registers if it has been changed from its original state.
ModificationAwareMap(Map<K, V>) - Constructor for class de.westnordost.osmapi.map.data.ModificationAwareMap
 
MODIFY_MAP - Static variable in class de.westnordost.osmapi.user.Permission
 

N

name - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
 
Node - Interface in de.westnordost.osmapi.map.data
 
Note - Class in de.westnordost.osmapi.notes
A note from the osm notes API
Note() - Constructor for class de.westnordost.osmapi.notes.Note
 
Note.Status - Enum in de.westnordost.osmapi.notes
 
NoteComment - Class in de.westnordost.osmapi.notes
A note comment from the osm notes api
NoteComment() - Constructor for class de.westnordost.osmapi.notes.NoteComment
 
NoteComment.Action - Enum in de.westnordost.osmapi.notes
 
notesCount - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
the number of notes in the changeset discussion of this changeset
NotesDao - Class in de.westnordost.osmapi.notes
Creates, comments, closes, reopens and search for notes All interactions with this class require an OsmConnection with a logged in user.
NotesDao(OsmConnection) - Constructor for class de.westnordost.osmapi.notes.NotesDao
 
NotesDateFormat - Class in de.westnordost.osmapi.notes
The date format for the notes API is a little different: The 'T' literal is missing between time and date
NotesDateFormat() - Constructor for class de.westnordost.osmapi.notes.NotesDateFormat
 
NotesParser - Class in de.westnordost.osmapi.notes
Parses a list of openstreetmap notes from OSM Notes API 0.6.
NotesParser(Handler<Note>) - Constructor for class de.westnordost.osmapi.notes.NotesParser
 

O

OneElementTypeHandler<T> - Class in de.westnordost.osmapi.map.handler
Handles one OsmElement type (Node, Way, Relation, Bounds) and ignores everything else
OneElementTypeHandler(Class<T>) - Constructor for class de.westnordost.osmapi.map.handler.OneElementTypeHandler
 
onEndElement() - Method in class de.westnordost.osmapi.capabilities.CapabilitiesParser
 
onEndElement() - Method in class de.westnordost.osmapi.changesets.ChangesetParser
 
onEndElement() - Method in class de.westnordost.osmapi.common.XmlParser
 
onEndElement() - Method in class de.westnordost.osmapi.map.changes.MapDataDiffParser
 
onEndElement() - Method in class de.westnordost.osmapi.map.MapDataParser
 
onEndElement() - Method in class de.westnordost.osmapi.notes.NotesParser
 
onEndElement() - Method in class de.westnordost.osmapi.traces.GpsTracesParser
 
onEndElement() - Method in class de.westnordost.osmapi.traces.GpxTrackParser
 
onEndElement() - Method in class de.westnordost.osmapi.user.PermissionsParser
 
onEndElement() - Method in class de.westnordost.osmapi.user.PreferencesParser
 
onEndElement() - Method in class de.westnordost.osmapi.user.UserDetailsParser
 
onEndElement() - Method in class de.westnordost.osmapi.user.UserInfoParser
 
onlyClosed() - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
onlyOpen() - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
onModification() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
onStartCreations() - Method in interface de.westnordost.osmapi.map.changes.MapDataChangesHandler
 
onStartCreations() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
onStartDeletions() - Method in interface de.westnordost.osmapi.map.changes.MapDataChangesHandler
 
onStartDeletions() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
onStartElement() - Method in class de.westnordost.osmapi.capabilities.CapabilitiesParser
 
onStartElement() - Method in class de.westnordost.osmapi.changesets.ChangesetParser
 
onStartElement() - Method in class de.westnordost.osmapi.common.XmlParser
 
onStartElement() - Method in class de.westnordost.osmapi.map.changes.MapDataChangesParser
 
onStartElement() - Method in class de.westnordost.osmapi.map.changes.MapDataDiffParser
 
onStartElement() - Method in class de.westnordost.osmapi.map.MapDataParser
 
onStartElement() - Method in class de.westnordost.osmapi.notes.NotesParser
 
onStartElement() - Method in class de.westnordost.osmapi.traces.GpsTracesParser
 
onStartElement() - Method in class de.westnordost.osmapi.traces.GpxTrackParser
 
onStartElement() - Method in class de.westnordost.osmapi.user.PermissionsParser
 
onStartElement() - Method in class de.westnordost.osmapi.user.PreferencesParser
 
onStartElement() - Method in class de.westnordost.osmapi.user.UserDetailsParser
 
onStartElement() - Method in class de.westnordost.osmapi.user.UserInfoParser
 
onStartModifications() - Method in interface de.westnordost.osmapi.map.changes.MapDataChangesHandler
 
onStartModifications() - Method in class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
onTextNode(String) - Method in class de.westnordost.osmapi.common.XmlParser
 
openChangeset(Map<String, String>) - Method in class de.westnordost.osmapi.map.MapDataDao
Open a new changeset with the given tags
OsmApiErrorFactory - Class in de.westnordost.osmapi
Static factory that creates the OsmApiExceptions from the HTTP response code and message
OsmApiErrorFactory() - Constructor for class de.westnordost.osmapi.OsmApiErrorFactory
 
OsmApiException - Exception in de.westnordost.osmapi.common.errors
Thrown when the OSM Api returns a HTTP error.
OsmApiException(Throwable) - Constructor for exception de.westnordost.osmapi.common.errors.OsmApiException
 
OsmApiException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmApiException
 
OsmApiReadResponseException - Exception in de.westnordost.osmapi.common.errors
An error occured while parsing the response of an Osm Api call
OsmApiReadResponseException(Exception) - Constructor for exception de.westnordost.osmapi.common.errors.OsmApiReadResponseException
 
OsmAuthorizationException - Exception in de.westnordost.osmapi.common.errors
Thrown when the user is blocked, did not agree to the terms, his OAuth token does not have this capability, he has not the necessary rights (i.e.
OsmAuthorizationException(Throwable) - Constructor for exception de.westnordost.osmapi.common.errors.OsmAuthorizationException
 
OsmAuthorizationException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmAuthorizationException
 
OsmBadUserInputException - Exception in de.westnordost.osmapi.common.errors
 
OsmBadUserInputException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmBadUserInputException
 
OsmConflictException - Exception in de.westnordost.osmapi.common.errors
Thrown when an action fails because the precondition changed on server side.
OsmConflictException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmConflictException
 
OsmConnection - Class in de.westnordost.osmapi
Talks with the OpenStreetMap API 0.6, acts as a basis for data access objects for openstreetmap data accessible through the API.
OsmConnection(String, String, OAuthConsumer, Integer) - Constructor for class de.westnordost.osmapi.OsmConnection
Create a new OsmConnection with the given preferences
OsmConnection(String, String, OAuthConsumer) - Constructor for class de.westnordost.osmapi.OsmConnection
 
OsmConnection(String, String) - Constructor for class de.westnordost.osmapi.OsmConnection
 
OsmConnectionException - Exception in de.westnordost.osmapi.common.errors
(A proper) connection to the server cannot be established for some reason.
OsmConnectionException(Throwable) - Constructor for exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
OsmConnectionException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
OsmElement - Class in de.westnordost.osmapi.map.data
Base class for the osm primitives nodes, ways and relations
OsmElement(long, int, Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmElement
 
OsmElement(long, int, Map<String, String>, Changeset, Date) - Constructor for class de.westnordost.osmapi.map.data.OsmElement
 
OsmLatLon - Class in de.westnordost.osmapi.map.data
A geo position (without height).
OsmLatLon(double, double) - Constructor for class de.westnordost.osmapi.map.data.OsmLatLon
 
OsmMapDataFactory - Class in de.westnordost.osmapi.map
 
OsmMapDataFactory() - Constructor for class de.westnordost.osmapi.map.OsmMapDataFactory
 
OsmNode - Class in de.westnordost.osmapi.map.data
 
OsmNode(long, int, Double, Double, Map<String, String>, Changeset, Date) - Constructor for class de.westnordost.osmapi.map.data.OsmNode
 
OsmNode(long, int, LatLon, Map<String, String>, Changeset, Date) - Constructor for class de.westnordost.osmapi.map.data.OsmNode
 
OsmNode(long, int, Double, Double, Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmNode
 
OsmNode(long, int, LatLon, Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmNode
 
OsmNotFoundException - Exception in de.westnordost.osmapi.common.errors
Thrown when an action fails because the element does not exist
OsmNotFoundException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmNotFoundException
 
OsmQueryTooBigException - Exception in de.westnordost.osmapi.common.errors
Thrown when trying to request an area that is either too big or contains too much data.
OsmQueryTooBigException(OsmApiException) - Constructor for exception de.westnordost.osmapi.common.errors.OsmQueryTooBigException
 
OsmQueryTooBigException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmQueryTooBigException
 
OsmRelation - Class in de.westnordost.osmapi.map.data
 
OsmRelation(long, int, List<RelationMember>, Map<String, String>, Changeset, Date) - Constructor for class de.westnordost.osmapi.map.data.OsmRelation
 
OsmRelation(long, int, List<RelationMember>, Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmRelation
 
OsmRelationMember - Class in de.westnordost.osmapi.map.data
 
OsmRelationMember(long, String, Element.Type) - Constructor for class de.westnordost.osmapi.map.data.OsmRelationMember
 
OsmServiceUnavailableException - Exception in de.westnordost.osmapi.common.errors
Thrown when an API request failed because the server responded that the service is not available (i.e.
OsmServiceUnavailableException(int, String, String) - Constructor for exception de.westnordost.osmapi.common.errors.OsmServiceUnavailableException
 
OsmTags - Class in de.westnordost.osmapi.map.data
Represent the tags for any osm element.
OsmTags(Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmTags
 
OsmWay - Class in de.westnordost.osmapi.map.data
 
OsmWay(long, int, List<Long>, Map<String, String>, Changeset, Date) - Constructor for class de.westnordost.osmapi.map.data.OsmWay
 
OsmWay(long, int, List<Long>, Map<String, String>) - Constructor for class de.westnordost.osmapi.map.data.OsmWay
 
OsmXmlDateFormat - Class in de.westnordost.osmapi.common
Format used to represent dates within the OSM Api 0.6 (except notes)
OsmXmlDateFormat() - Constructor for class de.westnordost.osmapi.common.OsmXmlDateFormat
 

P

parse(InputStream) - Method in interface de.westnordost.osmapi.ApiResponseReader
Called when the input stream is available.
parse(InputStream) - Method in class de.westnordost.osmapi.capabilities.CapabilitiesParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.changesets.ChangesetParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.common.IdResponseReader
 
parse(String, ParsePosition) - Method in class de.westnordost.osmapi.common.Iso8601CompatibleDateFormat
 
parse(String) - Method in class de.westnordost.osmapi.common.OsmXmlDateFormat
 
parse(InputStream) - Method in class de.westnordost.osmapi.map.changes.MapDataDiffParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.map.MapDataParser
 
parse(String) - Method in class de.westnordost.osmapi.notes.NotesDateFormat
 
parse(InputStream) - Method in class de.westnordost.osmapi.notes.NotesParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.traces.GpsTracesParser
 
parse(String) - Method in class de.westnordost.osmapi.traces.GpxDateFormat
 
parse(InputStream) - Method in class de.westnordost.osmapi.traces.GpxTrackParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.user.PermissionsParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.user.PreferencesParser
 
parse(InputStream) - Method in class de.westnordost.osmapi.user.UserInfoParser
 
parseFixed(String) - Static method in class de.westnordost.osmapi.map.data.Fixed1E7
 
parseLatLon(String, String) - Static method in class de.westnordost.osmapi.map.data.OsmLatLon
 
pending - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
whether the server did not complete the import of the trace yet
Permission - Class in de.westnordost.osmapi.user
Simply some constants for known permissions.
PermissionsDao - Class in de.westnordost.osmapi.user
Get the user permissions
PermissionsDao(OsmConnection) - Constructor for class de.westnordost.osmapi.user.PermissionsDao
 
PermissionsParser - Class in de.westnordost.osmapi.user
Parses the permissions this osm user has on this server (API 0.6).
PermissionsParser() - Constructor for class de.westnordost.osmapi.user.PermissionsParser
 
PlainTextWriter - Class in de.westnordost.osmapi.common
 
PlainTextWriter(String) - Constructor for class de.westnordost.osmapi.common.PlainTextWriter
 
position - Variable in class de.westnordost.osmapi.notes.Note
 
position - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
null until the whole trace has been imported completely by the server
position - Variable in class de.westnordost.osmapi.traces.GpsTrackpoint
 
PreferencesParser - Class in de.westnordost.osmapi.user
Parses the preferences of this osm user on this server (API 0.6).
PreferencesParser() - Constructor for class de.westnordost.osmapi.user.PreferencesParser
 
preferredLanguages - Variable in class de.westnordost.osmapi.user.UserDetails
the language and country codes of the user's preferred languages, sorted by preferedness.
profileDescription - Variable in class de.westnordost.osmapi.user.UserInfo
The profile description is formatted with markdown.
profileImageUrl - Variable in class de.westnordost.osmapi.user.UserInfo
URL to the user's profile picture.
put(K, V) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
put(String, String) - Method in class de.westnordost.osmapi.map.data.OsmTags
 
putAll(Map<? extends K, ? extends V>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
putAll(Map<? extends String, ? extends String>) - Method in class de.westnordost.osmapi.map.data.OsmTags
 

Q

QueryChangesetsFilters - Class in de.westnordost.osmapi.changesets
 
QueryChangesetsFilters() - Constructor for class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
QueryNotesFilters - Class in de.westnordost.osmapi.notes
 
QueryNotesFilters() - Constructor for class de.westnordost.osmapi.notes.QueryNotesFilters
 

R

READ_GPS_TRACES - Static variable in class de.westnordost.osmapi.user.Permission
 
READ_PREFERENCES_AND_USER_DETAILS - Static variable in class de.westnordost.osmapi.user.Permission
 
RedirectedException - Exception in de.westnordost.osmapi.common.errors
Thrown when the ISP / Wifi router redirected us to someplace else (i.e.
RedirectedException() - Constructor for exception de.westnordost.osmapi.common.errors.RedirectedException
 
Relation - Interface in de.westnordost.osmapi.map.data
 
RelationMember - Interface in de.westnordost.osmapi.map.data
 
remove(int) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
remove(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
remove(Object) - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
removeAll(Collection<?>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
reopen(long) - Method in class de.westnordost.osmapi.notes.NotesDao
Reopens the given note without providing a reason.
reopen(long, String) - Method in class de.westnordost.osmapi.notes.NotesDao
Reopen the given note with the given reason.
retainAll(Collection<?>) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
roles - Variable in class de.westnordost.osmapi.user.UserInfo
may be null if the user has no roles

S

sentMessagesCount - Variable in class de.westnordost.osmapi.user.UserDetails
 
serverId - Variable in class de.westnordost.osmapi.map.changes.DiffElement
aka new_id: the id the element now has on the server.
serverVersion - Variable in class de.westnordost.osmapi.map.changes.DiffElement
aka new_version: the new version element now has on the server.
set(int, T) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
set(String, String) - Method in class de.westnordost.osmapi.user.UserPreferencesDao
Sets the given preference key to the given preference value.
setAll(Map<String, String>) - Method in class de.westnordost.osmapi.user.UserPreferencesDao
Sets all the given preference keys to the given preference values.
setApiUrl(String) - Method in class de.westnordost.osmapi.OsmConnection
 
setDeleted(boolean) - Method in class de.westnordost.osmapi.map.data.OsmElement
 
setOAuth(OAuthConsumer) - Method in class de.westnordost.osmapi.OsmConnection
 
setPosition(LatLon) - Method in class de.westnordost.osmapi.map.data.OsmNode
 
setRole(String) - Method in class de.westnordost.osmapi.map.data.OsmRelationMember
 
setTags(Map<String, String>) - Method in class de.westnordost.osmapi.map.data.OsmElement
 
setTimeout(int) - Method in class de.westnordost.osmapi.OsmConnection
 
setUserAgent(String) - Method in class de.westnordost.osmapi.OsmConnection
 
SimpleMapDataChangesHandler - Class in de.westnordost.osmapi.map.changes
 
SimpleMapDataChangesHandler() - Constructor for class de.westnordost.osmapi.map.changes.SimpleMapDataChangesHandler
 
SingleElementHandler<T> - Class in de.westnordost.osmapi.common
Handler that expects just a single element.
SingleElementHandler() - Constructor for class de.westnordost.osmapi.common.SingleElementHandler
 
SingleOsmElementHandler<T> - Class in de.westnordost.osmapi.map.handler
Handler that expects just one element of the given type
SingleOsmElementHandler(Class<T>) - Constructor for class de.westnordost.osmapi.map.handler.SingleOsmElementHandler
 
size() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
size() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
splitAt180thMeridian() - Method in class de.westnordost.osmapi.map.data.BoundingBox
 
status - Variable in class de.westnordost.osmapi.notes.Note
 
subList(int, int) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
subscribe(long) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Subscribe the user to a changeset discussion.

T

tags - Variable in class de.westnordost.osmapi.changesets.ChangesetInfo
map of tags associated with this changeset.
tags - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
may be empty/null
text - Variable in class de.westnordost.osmapi.changesets.ChangesetNote
 
text(String) - Method in class de.westnordost.osmapi.common.XmlWriter
 
text - Variable in class de.westnordost.osmapi.notes.NoteComment
 
time - Variable in class de.westnordost.osmapi.traces.GpsTrackpoint
null if unknown.
timeoutInSeconds - Variable in class de.westnordost.osmapi.capabilities.Capabilities
 
toArray() - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
toArray(U[]) - Method in class de.westnordost.osmapi.map.data.ModificationAwareList
 
toDouble(int) - Static method in class de.westnordost.osmapi.map.data.Fixed1E7
 
toParamString() - Method in class de.westnordost.osmapi.changesets.QueryChangesetsFilters
 
toParamString() - Method in class de.westnordost.osmapi.notes.QueryNotesFilters
 
toString() - Method in exception de.westnordost.osmapi.common.errors.OsmApiException
 
toString() - Method in exception de.westnordost.osmapi.common.errors.OsmConnectionException
 
type - Variable in class de.westnordost.osmapi.map.changes.DiffElement
 

U

unreadMessagesCount - Variable in class de.westnordost.osmapi.user.UserDetails
 
unsubscribe(long) - Method in class de.westnordost.osmapi.changesets.ChangesetsDao
Unsubscribe the user from a changeset discussion.
update(long, GpsTraceDetails.Visibility, String, List<String>) - Method in class de.westnordost.osmapi.traces.GpsTracesDao
Change the visibility, description and tags of a GPS trace.
updateChangeset(long, Map<String, String>) - Method in class de.westnordost.osmapi.map.MapDataDao
Set new the tags of a changeset (the old set of tags is deleted)
updateMap(String, String, Iterable<Element>, Handler<DiffElement>) - Method in class de.westnordost.osmapi.map.MapDataDao
 
updateMap(Map<String, String>, Iterable<Element>, Handler<DiffElement>) - Method in class de.westnordost.osmapi.map.MapDataDao
Opens a changeset, uploads the data, closes the changeset and subscribes the user to it.
uploadChanges(long, Iterable<Element>, Handler<DiffElement>) - Method in class de.westnordost.osmapi.map.MapDataDao
Upload changes into an opened changeset.
user - Variable in class de.westnordost.osmapi.changesets.Changeset
 
user - Variable in class de.westnordost.osmapi.changesets.ChangesetNote
 
user - Variable in class de.westnordost.osmapi.notes.NoteComment
the user who wrote the comment.
User - Class in de.westnordost.osmapi.user
Short info for a user
User(long, String) - Constructor for class de.westnordost.osmapi.user.User
 
user - Variable in class de.westnordost.osmapi.user.UserInfoParser
 
UserDao - Class in de.westnordost.osmapi.user
Get user infos and details.
UserDao(OsmConnection) - Constructor for class de.westnordost.osmapi.user.UserDao
 
UserDetails - Class in de.westnordost.osmapi.user
OSM user details.
UserDetails(long, String) - Constructor for class de.westnordost.osmapi.user.UserDetails
 
UserDetailsParser - Class in de.westnordost.osmapi.user
Parses private information for a user
UserDetailsParser(Handler<UserInfo>) - Constructor for class de.westnordost.osmapi.user.UserDetailsParser
 
UserInfo - Class in de.westnordost.osmapi.user
Non-private info of a user queried through the user-API
UserInfo(long, String) - Constructor for class de.westnordost.osmapi.user.UserInfo
 
UserInfoParser - Class in de.westnordost.osmapi.user
Parses information for users (API 0.6, since 2012).
UserInfoParser(Handler<UserInfo>) - Constructor for class de.westnordost.osmapi.user.UserInfoParser
 
userName - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
(current) user name of the uploader
UserPreferencesDao - Class in de.westnordost.osmapi.user
Get and set the user's custom preferences.
UserPreferencesDao(OsmConnection) - Constructor for class de.westnordost.osmapi.user.UserPreferencesDao
 
UserRole - Class in de.westnordost.osmapi.user
Simply some constants for known user roles

V

valueOf(String) - Static method in enum de.westnordost.osmapi.capabilities.Capabilities.ApiStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.westnordost.osmapi.map.data.Element.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.westnordost.osmapi.notes.Note.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.westnordost.osmapi.notes.NoteComment.Action
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.westnordost.osmapi.traces.GpsTraceDetails.Visibility
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.westnordost.osmapi.capabilities.Capabilities.ApiStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.westnordost.osmapi.map.data.Element.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class de.westnordost.osmapi.map.data.ModificationAwareMap
 
values() - Static method in enum de.westnordost.osmapi.notes.Note.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.westnordost.osmapi.notes.NoteComment.Action
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.westnordost.osmapi.traces.GpsTraceDetails.Visibility
Returns an array containing the constants of this enum type, in the order they are declared.
visibility - Variable in class de.westnordost.osmapi.traces.GpsTraceDetails
 

W

Way - Interface in de.westnordost.osmapi.map.data
 
WrapperOsmElementHandler<T> - Class in de.westnordost.osmapi.map.handler
Wraps a Handler in a MapDataHandler
WrapperOsmElementHandler(Class<T>, Handler<T>) - Constructor for class de.westnordost.osmapi.map.handler.WrapperOsmElementHandler
 
write(OutputStream) - Method in interface de.westnordost.osmapi.ApiRequestWriter
 
write(OutputStream) - Method in class de.westnordost.osmapi.common.FormDataWriter
 
write() - Method in class de.westnordost.osmapi.common.FormDataWriter
 
write(OutputStream) - Method in class de.westnordost.osmapi.common.PlainTextWriter
 
write(OutputStream) - Method in class de.westnordost.osmapi.common.XmlWriter
 
write() - Method in class de.westnordost.osmapi.common.XmlWriter
 
write() - Method in class de.westnordost.osmapi.map.changes.MapDataChangesWriter
 
write() - Method in class de.westnordost.osmapi.traces.GpsTraceWriter
 
write() - Method in class de.westnordost.osmapi.traces.GpxTrackWriter
 
WRITE_DIARY - Static variable in class de.westnordost.osmapi.user.Permission
 
WRITE_GPS_TRACES - Static variable in class de.westnordost.osmapi.user.Permission
 
WRITE_NOTES - Static variable in class de.westnordost.osmapi.user.Permission
 

X

XmlParser - Class in de.westnordost.osmapi.common
A simple XML parser that can be used quite similarly to the SAX parser but is based on the pull parser.
XmlParser() - Constructor for class de.westnordost.osmapi.common.XmlParser
 
XmlParserException - Exception in de.westnordost.osmapi.common.errors
Wraps any exception that occurs during parsing with the XmlParser
XmlParserException(String, Throwable) - Constructor for exception de.westnordost.osmapi.common.errors.XmlParserException
 
XmlParserException(Throwable) - Constructor for exception de.westnordost.osmapi.common.errors.XmlParserException
 
XmlParserException(String) - Constructor for exception de.westnordost.osmapi.common.errors.XmlParserException
 
XmlWriter - Class in de.westnordost.osmapi.common
A simple XML writer / serializer with convenience method and less generic
XmlWriter() - Constructor for class de.westnordost.osmapi.common.XmlWriter
 
A B C D E F G H I K L M N O P Q R S T U V W X 
Skip navigation links