|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.gml.geometry.GML2GeometryReader
public class GML2GeometryReader
The GML2GeometryReader parses the geometry elements in GML 2.1 documents. The following geometries are
supported:
| Constructor Summary | |
|---|---|
GML2GeometryReader()
|
|
GML2GeometryReader(GeometryFactory geomFac,
GMLDocumentIdContext idContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GML2GeometryReader()
public GML2GeometryReader(GeometryFactory geomFac,
GMLDocumentIdContext idContext)
geomFac - idContext - | Method Detail |
|---|
public GMLDocumentIdContext getDocumentIdContext()
GMLDocumentIdContext that keeps track of objects, identifieres and references.
GMLDocumentIdContext, never null
public Geometry parse(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
parse in interface GMLGeometryReaderxmlStream -
XMLStreamExceptionpublic boolean isGeometryElement(XMLStreamReader reader)
isGeometryElement in interface GMLGeometryReaderXMLStreamConstants.START_ELEMENT && the current element's name is a
known geometry.public boolean isGeometryOrEnvelopeElement(XMLStreamReader reader)
isGeometryOrEnvelopeElement in interface GMLGeometryReaderXMLStreamConstants.START_ELEMENT && the current element's name is an
envelope.public boolean isGeometryElement(QName elName)
elName - qualified element name to check
public Geometry parse(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
parse in interface GMLGeometryReaderxmlStream - defaultCRS -
XMLStreamException
public Geometry parseGeometryOrEnvelope(XMLStreamReaderWrapper xmlStream)
throws XMLParsingException,
XMLStreamException,
UnknownCRSException
xmlStream -
XMLParsingException
XMLStreamException
UnknownCRSException
public Geometry parseGeometryOrBox(XMLStreamReaderWrapper xmlStream)
throws XMLParsingException,
XMLStreamException,
UnknownCRSException
xmlStream -
XMLParsingException
XMLStreamException
UnknownCRSException
public Geometry parseGeometryOrBox(XMLStreamReaderWrapper xmlStream,
CRS defaultCRS)
throws XMLParsingException,
XMLStreamException,
UnknownCRSException
xmlStream - defaultCRS -
XMLParsingException
XMLStreamException
UnknownCRSException
public Geometry parseGeometryOrEnvelope(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLParsingException,
XMLStreamException,
UnknownCRSException
GMLGeometryReader
parseGeometryOrEnvelope in interface GMLGeometryReaderXMLParsingException
XMLStreamException
UnknownCRSException
public MultiPolygon parseMultiPolygon(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public MultiPolygon parseMultiPolygon(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public MultiLineString parseMultiLineString(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public MultiLineString parseMultiLineString(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public MultiPoint parseMultiPoint(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public MultiPoint parseMultiPoint(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public MultiGeometry<Geometry> parseMultiGeometry(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public MultiGeometry<Geometry> parseMultiGeometry(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public Envelope parseEnvelope(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public Envelope parseEnvelope(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
parseEnvelope in interface GMLGeometryReaderxmlStream - defaultCRS -
XMLStreamException
public LineString parseLineString(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public LineString parseLineString(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public Polygon parsePolygon(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public Polygon parsePolygon(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public Ring parseLinearRing(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public Ring parseLinearRing(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
public Point parsePoint(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
public Point parsePoint(XMLStreamReaderWrapper xmlStream,
ICRS defaultCRS)
throws XMLStreamException
xmlStream - defaultCRS -
XMLStreamException
protected double[] parseCoordType(XMLStreamReaderWrapper xmlStream)
throws XMLStreamException
xmlStream -
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||