|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.gml.geometry.GML3GeometryBaseReader
class GML3GeometryBaseReader
TODO add documentation here
Field Summary | |
---|---|
protected GeometryFactory |
geomFac
|
protected String |
gmlNs
Namespace for the parsed GML elements, either CommonNamespaces.GMLNS or
CommonNamespaces.GML3_2_NS . |
protected GMLVersion |
version
|
Constructor Summary | |
---|---|
protected |
GML3GeometryBaseReader(GMLVersion version,
GeometryFactory geomFac)
|
Method Summary | |
---|---|
protected CRS |
determineActiveCRS(XMLStreamReaderWrapper xmlStream,
CRS defaultCRS)
Determines the active CRS using the value of the srsName attribute of the current geometry
element. |
protected int |
determineCoordDimensions(XMLStreamReaderWrapper xmlStream,
int defaultCoordDimensions)
Applies a simple heuristic to determine the number of coordinate dimensions. |
protected Angle |
parseAngleType(XMLStreamReaderWrapper xmlStream)
|
protected List<Point> |
parseCoordinates(XMLStreamReaderWrapper xmlStream,
CRS crs)
|
protected double[] |
parseCoordType(XMLStreamReaderWrapper xmlStream)
|
protected Point |
parseDirectPositionType(XMLStreamReaderWrapper xmlStream,
CRS defaultCRS)
|
protected double[] |
parseDoubleList(XMLStreamReaderWrapper xmlStream)
|
protected Length |
parseLengthType(XMLStreamReaderWrapper xmlStream)
|
protected Measure |
parseMeasureType(XMLStreamReaderWrapper xmlStream)
|
protected boolean |
parseOrientation(XMLStreamReaderWrapper xmlStream)
Parses the orientation attribute from element that the associated XMLStreamReader
points to. |
protected List<Point> |
parsePosList(XMLStreamReaderWrapper xmlStream,
CRS crs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final GMLVersion version
protected final String gmlNs
CommonNamespaces.GMLNS
or
CommonNamespaces.GML3_2_NS
.
protected final GeometryFactory geomFac
Constructor Detail |
---|
protected GML3GeometryBaseReader(GMLVersion version, GeometryFactory geomFac)
Method Detail |
---|
protected Point parseDirectPositionType(XMLStreamReaderWrapper xmlStream, CRS defaultCRS) throws XMLParsingException, XMLStreamException
XMLParsingException
XMLStreamException
protected List<Point> parsePosList(XMLStreamReaderWrapper xmlStream, CRS crs) throws XMLParsingException, XMLStreamException
XMLParsingException
XMLStreamException
protected List<Point> parseCoordinates(XMLStreamReaderWrapper xmlStream, CRS crs) throws XMLParsingException, XMLStreamException
XMLParsingException
XMLStreamException
protected double[] parseCoordType(XMLStreamReaderWrapper xmlStream) throws XMLStreamException
XMLStreamException
protected Length parseLengthType(XMLStreamReaderWrapper xmlStream) throws XMLStreamException
XMLStreamException
protected Angle parseAngleType(XMLStreamReaderWrapper xmlStream) throws XMLStreamException
XMLStreamException
protected Measure parseMeasureType(XMLStreamReaderWrapper xmlStream) throws XMLStreamException
XMLStreamException
protected CRS determineActiveCRS(XMLStreamReaderWrapper xmlStream, CRS defaultCRS)
CRS
using the value of the srsName
attribute of the current geometry
element.
defaultCRS
- default CSR for the geometry, this is returned if the geometry element has no srsName
attribute
protected double[] parseDoubleList(XMLStreamReaderWrapper xmlStream) throws XMLParsingException, XMLStreamException
XMLParsingException
XMLStreamException
protected boolean parseOrientation(XMLStreamReaderWrapper xmlStream)
orientation
attribute from element that the associated XMLStreamReader
points to.
orientation is '+' or not present, false if the attribute is '-'
protected int determineCoordDimensions(XMLStreamReaderWrapper xmlStream, int defaultCoordDimensions)
defaultCoordDimensions
- default coordinate dimensionality, this is returned if the element has no srsDimension
attribute
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |