deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.gml.geometry
Class GML3SurfacePatchReader

java.lang.Object
  extended by org.deegree.gml.geometry.GML3GeometryBaseReader
      extended by org.deegree.gml.geometry.GML3SurfacePatchReader

 class GML3SurfacePatchReader
extends GML3GeometryBaseReader

Handles the parsing of gml:_SurfacePatch elements, i.e concrete element declarations that are in the substitution group of gml:_SurfacePatch.

This class handles all 6 concrete substitutions for gml:_SurfacePatch that are defined in GML 3.1.1:

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , Andrei Ionita, last edited by: $Author:$

Field Summary
 
Fields inherited from class org.deegree.gml.geometry.GML3GeometryBaseReader
geomFac, gmlNs, version
 
Constructor Summary
GML3SurfacePatchReader(GML3GeometryReader geometryParser, GeometryFactory geomFac)
           
 
Method Summary
(package private)  PolygonPatch parsePolygonPatch(XMLStreamReaderWrapper xmlStream, CRS defaultCRS)
          Returns the object representation of a <gml:PolygonPatch> element.
(package private)  SurfacePatch parseSurfacePatch(XMLStreamReaderWrapper xmlStream, CRS defaultCRS)
          Returns the object representation for a gml:_SurfacePatch element.
(package private)  Triangle parseTriangle(XMLStreamReaderWrapper xmlStream, CRS defaultCRS)
          Returns the object representation of a <gml:Triangle> element.
 
Methods inherited from class org.deegree.gml.geometry.GML3GeometryBaseReader
determineActiveCRS, determineCoordDimensions, parseAngleType, parseCoordinates, parseCoordType, parseDirectPositionType, parseDoubleList, parseLengthType, parseMeasureType, parseOrientation, parsePosList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GML3SurfacePatchReader

GML3SurfacePatchReader(GML3GeometryReader geometryParser,
                       GeometryFactory geomFac)
Parameters:
geometryParser -
geomFac -
Method Detail

parseSurfacePatch

SurfacePatch parseSurfacePatch(XMLStreamReaderWrapper xmlStream,
                               CRS defaultCRS)
                         throws XMLParsingException,
                                XMLStreamException,
                                UnknownCRSException
Returns the object representation for a gml:_SurfacePatch element. Consumes all corresponding events from the associated XMLStream.

This method handles all 6 concrete substitutions for gml:_SurfacePatch that are defined in GML 3.1.1:

Parameters:
defaultCRS - default CRS for the geometry, this is only used if the "gml:_SurfacePatch" has no srsName attribute
Returns:
corresponding SurfacePatch object
Throws:
XMLParsingException
XMLStreamException
UnknownCRSException

parsePolygonPatch

PolygonPatch parsePolygonPatch(XMLStreamReaderWrapper xmlStream,
                               CRS defaultCRS)
                         throws XMLParsingException,
                                XMLStreamException,
                                UnknownCRSException
Returns the object representation of a <gml:PolygonPatch> element. Consumes all corresponding events from the associated XMLStream.

Parameters:
defaultCRS - default CRS for the geometry, this is propagated if no deeper srsName attribute is specified
Returns:
corresponding PolygonPatch object
Throws:
XMLParsingException - if a syntactical (or semantic) error is detected in the element
XMLStreamException
UnknownCRSException

parseTriangle

Triangle parseTriangle(XMLStreamReaderWrapper xmlStream,
                       CRS defaultCRS)
                 throws XMLStreamException,
                        XMLParsingException,
                        UnknownCRSException
Returns the object representation of a <gml:Triangle> element. Consumes all corresponding events from the associated XMLStream.

Parameters:
defaultCRS - default srs for the geometry, this is propagated if no deeper srsName attribute is specified
Returns:
corresponding Triangle object
Throws:
XMLParsingException - if a syntactical (or semantic) error is detected in the element
XMLStreamException
UnknownCRSException
XMLParsingException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>