|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.drivers.gpx.model.GPXLine
public class GPXLine
This class giving is used to manage route and track data
| Constructor Summary | |
|---|---|
GPXLine(int numberOfValues)
|
|
| Method Summary | |
|---|---|
Object[] |
getValues()
Gives access to the route or track's values |
void |
setAttribute(String currentElement,
StringBuilder contentBuffer)
Set an attribute for a line. |
void |
setCmt(StringBuilder contentBuffer)
Set the comment of a route or a track. |
void |
setDesc(StringBuilder contentBuffer)
Set the description of a route or a track. |
void |
setExtensions()
Set extentions of a route or a track to true. |
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
Set the geometry of a route or a track. |
void |
setLink(Attributes attributes)
Set a link to additional information about the route or the track. |
void |
setLink(StringBuilder contentBuffer)
Set a link to additional information about the route or the track. |
void |
setLinkText(StringBuilder contentBuffer)
Set a text of hyperlink given in link. |
void |
setName(StringBuilder contentBuffer)
Set the name of a route or a track. |
void |
setNumber(StringBuilder contentBuffer)
Set the GPS number to additional information about the route or the track. |
void |
setSrc(StringBuilder contentBuffer)
Set the source of data of a route or a track. |
void |
setType(StringBuilder contentBuffer)
Set the type (classification) of a route or a track. |
void |
setValue(int i,
Object value)
Set an object in corresponding index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPXLine(int numberOfValues)
| Method Detail |
|---|
public final void setGeometry(com.vividsolutions.jts.geom.Geometry geometry)
geometry - a geoetry (linestring or MultiLineString) representing
the route or the track
public final void setAttribute(String currentElement,
StringBuilder contentBuffer)
currentElement - a string presenting the text of the current markup.contentBuffer - it contains all informations about the current
element.public final void setName(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setCmt(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setDesc(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setSrc(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setLink(Attributes attributes)
attributes - The current attributes being parsedpublic final void setLink(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setLinkText(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setNumber(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setType(StringBuilder contentBuffer)
contentBuffer - Contains the information to put in the tablepublic final void setExtensions()
public final Object[] getValues()
public final void setValue(int i,
Object value)
i - the indexvalue - the value to insert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||