public abstract class AbstractGpxParserTrk extends AbstractGpxParser
| Constructor and Description |
|---|
AbstractGpxParserTrk() |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String uri,
String localName,
String qName)
Fires whenever an XML end markup is encountered.
|
void |
initialise(XMLReader reader,
AbstractGpxParserDefault parent)
Create a new specific parser.
|
boolean |
isPoint()
Indicates if we are in a point.
|
void |
setParent(AbstractGpxParserDefault parent)
Set the parent of this specific parser.
|
void |
setTrkList(List<org.locationtech.jts.geom.LineString> trkList)
Set the list corresponding to the segments' list of coordinates of the
actual track.
|
void |
setTrksegList(List<org.locationtech.jts.geom.Coordinate> trksegList)
Set the list corresponding to the points' coordinates of the actual track
segment.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Fires whenever an XML start markup is encountered.
|
characters, getContentBuffer, getCurrentElement, getCurrentLine, getCurrentPoint, getCurrentSegment, getElementNames, getGeometryFactory, getReader, getRtePreparedStmt, getRteptPreparedStmt, getTrkPointsPreparedStmt, getTrkPreparedStmt, getTrkSegmentsPreparedStmt, getWptPreparedStmt, isSpecificElement, setContentBuffer, setCurrentElement, setCurrentLine, setCurrentPoint, setCurrentSegment, setElementNames, setReader, setRtePreparedStmt, setRteptPreparedStmt, setSpecificElement, setTrkPointsPreparedStmt, setTrkPreparedStmt, setTrkSegmentsPreparedStmt, setWptPreparedStmtendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void initialise(XMLReader reader, AbstractGpxParserDefault parent)
reader - The XMLReader used in the default classparent - The parser used in the default classpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandleruri - URI of the local elementlocalName - Name of the local element (without prefix)qName - qName of the local element (with prefix)attributes - Attributes of the local element (contained in the
markup)SAXException - Any SAX exception, possibly wrapping another
exceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandleruri - URI of the local elementlocalName - Name of the local element (without prefix)qName - qName of the local element (with prefix)SAXException - Any SAX exception, possibly wrapping another
exceptionpublic void setParent(AbstractGpxParserDefault parent)
parent - public boolean isPoint()
public void setTrkList(List<org.locationtech.jts.geom.LineString> trkList)
trkList - public void setTrksegList(List<org.locationtech.jts.geom.Coordinate> trksegList)
trksegList - Copyright © 2019 CNRS. All rights reserved.