|
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.Objectorg.deegree.crs.configuration.deegree.xml.CRSExporter
org.deegree.crs.configuration.deegree.xml.CRSExporter_0_4_0
public class CRSExporter_0_4_0
The CRSExporter_0_4_0export a list of coordinate systems into the 0.4.0 format
| Nested Class Summary | |
|---|---|
(package private) class |
CRSExporter_0_4_0.IdComparer
|
| Constructor Summary | |
|---|---|
CRSExporter_0_4_0(Properties properties)
|
|
| Method Summary | |
|---|---|
protected void |
endDocument(XMLStreamWriter xmlWriter)
Write the /crs:defintions and the end document and flush the writer. |
protected void |
export(Axis axis,
String elName,
XMLStreamWriter xmlWriter)
Export an axis to xml in the crs-definitions schema layout. |
protected void |
export(CompoundCRS compoundCRS,
XMLStreamWriter xmlWriter)
Export the compoundCRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(Ellipsoid ellipsoid,
XMLStreamWriter xmlWriter)
Export the ellipsoid to it's appropriate deegree-crs-definitions form. |
protected void |
export(GeocentricCRS geocentricCRS,
XMLStreamWriter xmlWriter)
Export the geocentric CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(GeodeticDatum datum,
XMLStreamWriter xmlWriter)
Export the datum to it's appropriate deegree-crs-definitions form. |
protected void |
export(GeographicCRS geoGraphicCRS,
XMLStreamWriter xmlWriter)
Export the geocentric/geographic CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(Helmert wgs84,
XMLStreamWriter xmlWriter)
Export the confInvo to it's appropriate deegree-crs-definitions form. |
protected void |
export(LeastSquareApproximation ls,
XMLStreamWriter xmlWriter)
Export the transformation to it's appropriate deegree-crs-definitions form. |
void |
export(List<CoordinateSystem> crsToExport,
XMLStreamWriter xmlWriter)
Export the given list of CoordinateSystems into the crs-definition format. |
protected void |
export(NTv2Transformation ntv2,
XMLStreamWriter xmlWriter)
Export the NTv2 to it's appropriate deegree-crs-definitions form. |
protected void |
export(PrimeMeridian pm,
XMLStreamWriter xmlWriter)
Export the PrimeMeridian to it's appropriate deegree-crs-definitions form. |
protected void |
export(ProjectedCRS projectedCRS,
XMLStreamWriter xmlWriter)
Export the projected CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(Projection projection,
XMLStreamWriter xmlWriter)
Export the projection to it's appropriate deegree-crs-definitions form. |
protected void |
export(Transformation transformation,
XMLStreamWriter xmlWriter)
Exports the given transformation |
protected void |
export(Unit units,
XMLStreamWriter xmlWriter)
Export a unit to xml in the crs-definitions schema layout. |
protected void |
exportAbstractCRS(CoordinateSystem crs,
XMLStreamWriter xmlWriter)
Export toplevel crs features. |
protected void |
exportCoordinateSystems(XMLStreamWriter xmlWriter,
Set<CompoundCRS> compounds,
Set<ProjectedCRS> projecteds,
Set<GeographicCRS> geographics,
Set<GeocentricCRS> geocentrics)
Exports the given sets of CoordinateSystems |
protected void |
exportDatums(XMLStreamWriter xmlWriter,
Set<GeodeticDatum> datums)
Exports the given set of Datums |
protected void |
exportEllipsoids(XMLStreamWriter xmlWriter,
Set<Ellipsoid> ellipsoids)
Exports the given set of ellipsoids |
protected void |
exportIdentifiable(CRSIdentifiable identifiable,
XMLStreamWriter xmlWriter)
Creates the basic nodes of the identifiable object. |
protected void |
exportPrimeMeridians(XMLStreamWriter xmlWriter,
Set<PrimeMeridian> pms)
Exports the given set of PrimeMeridians |
void |
exportProjections(XMLStreamWriter xmlWriter,
Set<Projection> projections)
Exports the given set of projections |
protected void |
exportTransformations(XMLStreamWriter xmlWriter,
Set<Transformation> transformations)
Exports the given set of transformations |
protected void |
initDocument(XMLStreamWriter xmlWriter)
Open an XML document from stream for exporting |
| Methods inherited from class org.deegree.crs.configuration.deegree.xml.CRSExporter |
|---|
exportTransformations, main |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CRSExporter_0_4_0(Properties properties)
properties - | Method Detail |
|---|
public void export(List<CoordinateSystem> crsToExport,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExportercrsToExport - xmlWriter - to write the definitions to.
XMLStreamException - if an error occurred while exporting
protected void exportEllipsoids(XMLStreamWriter xmlWriter,
Set<Ellipsoid> ellipsoids)
throws XMLStreamException
xmlWriter - ellipsoids -
XMLStreamException
protected void exportPrimeMeridians(XMLStreamWriter xmlWriter,
Set<PrimeMeridian> pms)
throws XMLStreamException
xmlWriter - pms -
XMLStreamException
protected void exportDatums(XMLStreamWriter xmlWriter,
Set<GeodeticDatum> datums)
throws XMLStreamException
xmlWriter - datums -
XMLStreamException
protected void exportTransformations(XMLStreamWriter xmlWriter,
Set<Transformation> transformations)
throws XMLStreamException
xmlWriter - transformations -
XMLStreamException
public void exportProjections(XMLStreamWriter xmlWriter,
Set<Projection> projections)
throws XMLStreamException
xmlWriter - projections -
XMLStreamException
protected void exportCoordinateSystems(XMLStreamWriter xmlWriter,
Set<CompoundCRS> compounds,
Set<ProjectedCRS> projecteds,
Set<GeographicCRS> geographics,
Set<GeocentricCRS> geocentrics)
throws XMLStreamException
xmlWriter - compounds - projecteds - geographics - geocentrics -
XMLStreamExceptionprotected void initDocument(XMLStreamWriter xmlWriter)
initDocument in class CRSExporterxmlWriter -
protected void endDocument(XMLStreamWriter xmlWriter)
throws XMLStreamException
endDocument in class CRSExporterxmlWriter -
XMLStreamException
protected void export(Transformation transformation,
XMLStreamWriter xmlWriter)
throws XMLStreamException
transformation - xmlWriter -
XMLStreamException
protected void export(NTv2Transformation ntv2,
XMLStreamWriter xmlWriter)
throws XMLStreamException
ntv2 - to be exportedxmlWriter - to export to.
XMLStreamException
protected void export(Helmert wgs84,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterwgs84 - to be exportedxmlWriter - to export to.
XMLStreamException
protected void export(LeastSquareApproximation ls,
XMLStreamWriter xmlWriter)
throws XMLStreamException
ls - to be exportedxmlWriter - to export to.
XMLStreamException
protected void export(PrimeMeridian pm,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterpm - PrimeMeridian to be exportedxmlWriter - to export to.
XMLStreamException
protected void export(CompoundCRS compoundCRS,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExportercompoundCRS - to be exportedxmlWriter - to export the geographic CRS to.
XMLStreamException
protected void export(ProjectedCRS projectedCRS,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterprojectedCRS - to be exportedxmlWriter - to export the projected CRS to.
XMLStreamException
protected void export(Projection projection,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterprojection - to be exportedxmlWriter - to export the projection to.
XMLStreamException
protected void export(GeographicCRS geoGraphicCRS,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExportergeoGraphicCRS - to be exportedxmlWriter - to export the geographic CRS to.
XMLStreamException
protected void export(GeocentricCRS geocentricCRS,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExportergeocentricCRS - to be exportedxmlWriter - to export the geocentric CRS to.
XMLStreamException
protected void exportAbstractCRS(CoordinateSystem crs,
XMLStreamWriter xmlWriter)
throws XMLStreamException
exportAbstractCRS in class CRSExportercrs - to be exportedxmlWriter - to export to
XMLStreamException
protected void export(Axis axis,
String elName,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporteraxis - to be exported.elName - the name of the element, either 'Axis' or 'heightAxis'xmlWriter - to export to.
XMLStreamException
protected void export(Unit units,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterunits - to be exported.xmlWriter - to export to.
XMLStreamException
protected void export(GeodeticDatum datum,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterdatum - to be exportedxmlWriter - to export the datum to.
XMLStreamException
protected void export(Ellipsoid ellipsoid,
XMLStreamWriter xmlWriter)
throws XMLStreamException
export in class CRSExporterellipsoid - to be exportedxmlWriter - to export the ellipsoid to.
XMLStreamException
protected void exportIdentifiable(CRSIdentifiable identifiable,
XMLStreamWriter xmlWriter)
throws XMLStreamException
exportIdentifiable in class CRSExporteridentifiable - object to be exported.xmlWriter - to export to
XMLStreamException
|
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 | |||||||||