|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.cs.io.deegree.CRSExporterBase
public class CRSExporterBase
The CRSExporter
exports to the old version format (no version attribute).
Constructor Summary | |
---|---|
CRSExporterBase()
|
Method Summary | |
---|---|
protected void |
endDocument(XMLStreamWriter xmlWriter)
Write the /crs:defintions and the end document and flush the writer. |
protected void |
export(Helmert wgs84,
XMLStreamWriter xmlWriter)
Export the confInvo to it's appropriate deegree-crs-definitions form. |
protected void |
export(IAxis axis,
String elName,
XMLStreamWriter xmlWriter)
Export an axis to xml in the crs-definitions schema layout. |
protected void |
export(ICompoundCRS compoundCRS,
XMLStreamWriter xmlWriter)
Export the compoundCRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(IEllipsoid ellipsoid,
XMLStreamWriter xmlWriter)
Export the ellipsoid to it's appropriate deegree-crs-definitions form. |
protected void |
export(IGeocentricCRS geocentricCRS,
XMLStreamWriter xmlWriter)
Export the geocentric CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(IGeodeticDatum datum,
XMLStreamWriter xmlWriter)
Export the datum to it's appropriate deegree-crs-definitions form. |
protected void |
export(IGeographicCRS geoGraphicCRS,
XMLStreamWriter xmlWriter)
Export the geocentric/geographic CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(IPrimeMeridian pm,
XMLStreamWriter xmlWriter)
Export the PrimeMeridian to it's appropriate deegree-crs-definitions form. |
protected void |
export(IProjectedCRS projectedCRS,
XMLStreamWriter xmlWriter)
Export the projected CRS to it's appropriate deegree-crs-definitions form. |
protected void |
export(IProjection projection,
XMLStreamWriter xmlWriter)
Export the projection to it's appropriate deegree-crs-definitions form. |
protected void |
export(IUnit units,
XMLStreamWriter xmlWriter)
Export a unit to xml in the crs-definitions schema layout. |
void |
export(List<ICRS> crsToExport,
XMLStreamWriter xmlWriter)
Export the given list of ICoordinateSystems into the crs-definition format. |
void |
export(StringBuilder sb,
List<ICRS> crsToExport)
|
protected void |
exportAbstractCRS(ICRS crs,
XMLStreamWriter xmlWriter)
Export toplevel crs features. |
protected void |
exportIdentifiable(CRSResource identifiable,
XMLStreamWriter xmlWriter)
Creates the basic nodes of the identifiable object. |
protected void |
exportTransformations(List<Transformation> transformations,
XMLStreamWriter xmlWriter)
Export a list of transformations from the crs element to xml with respect to the crs-definitions schema layout. |
protected void |
initDocument(XMLStreamWriter xmlWriter)
Open an XML document from stream for exporting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRSExporterBase()
Method Detail |
---|
public void export(StringBuilder sb, List<ICRS> crsToExport)
public void export(List<ICRS> crsToExport, XMLStreamWriter xmlWriter) throws XMLStreamException
crsToExport
- xmlWriter
- to write the definitions to.
XMLStreamException
- if an error occurred while exportingprotected void initDocument(XMLStreamWriter xmlWriter)
xmlWriter
- protected void endDocument(XMLStreamWriter xmlWriter) throws XMLStreamException
xmlWriter
-
XMLStreamException
protected void export(Helmert wgs84, XMLStreamWriter xmlWriter) throws XMLStreamException
wgs84
- to be exportedxmlWriter
- to export to.
XMLStreamException
protected void export(IPrimeMeridian pm, XMLStreamWriter xmlWriter) throws XMLStreamException
pm
- PrimeMeridian to be exportedxmlWriter
- to export to.
XMLStreamException
protected void export(ICompoundCRS compoundCRS, XMLStreamWriter xmlWriter) throws XMLStreamException
compoundCRS
- to be exportedxmlWriter
- to export the geographic CRS to.
XMLStreamException
protected void export(IProjectedCRS projectedCRS, XMLStreamWriter xmlWriter) throws XMLStreamException
projectedCRS
- to be exportedxmlWriter
- to export the projected CRS to.
XMLStreamException
protected void export(IProjection projection, XMLStreamWriter xmlWriter) throws XMLStreamException
projection
- to be exportedxmlWriter
- to export the projection to.
XMLStreamException
protected void export(IGeographicCRS geoGraphicCRS, XMLStreamWriter xmlWriter) throws XMLStreamException
geoGraphicCRS
- to be exportedxmlWriter
- to export the geographic CRS to.
XMLStreamException
protected void export(IGeocentricCRS geocentricCRS, XMLStreamWriter xmlWriter) throws XMLStreamException
geocentricCRS
- to be exportedxmlWriter
- to export the geocentric CRS to.
XMLStreamException
protected void exportAbstractCRS(ICRS crs, XMLStreamWriter xmlWriter) throws XMLStreamException
crs
- to be exportedxmlWriter
- to export to
XMLStreamException
protected void exportTransformations(List<Transformation> transformations, XMLStreamWriter xmlWriter) throws XMLStreamException
transformations
- to be exported.xmlWriter
- to export to.
XMLStreamException
protected void export(IAxis axis, String elName, XMLStreamWriter xmlWriter) throws XMLStreamException
axis
- to be exported.elName
- the name of the element, either 'Axis' or 'heightAxis'xmlWriter
- to export to.
XMLStreamException
protected void export(IUnit units, XMLStreamWriter xmlWriter) throws XMLStreamException
units
- to be exported.xmlWriter
- to export to.
XMLStreamException
protected void export(IGeodeticDatum datum, XMLStreamWriter xmlWriter) throws XMLStreamException
datum
- to be exportedxmlWriter
- to export the datum to.
XMLStreamException
protected void export(IEllipsoid ellipsoid, XMLStreamWriter xmlWriter) throws XMLStreamException
ellipsoid
- to be exportedxmlWriter
- to export the ellipsoid to.
XMLStreamException
protected void exportIdentifiable(CRSResource identifiable, XMLStreamWriter xmlWriter) throws XMLStreamException
identifiable
- object to be exported.xmlWriter
- to export to
XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |