package org.geowebcache.arcgis.config;
import java.util.List;
/**
* Represents a {@code TileCacheInfo} element in an ArcGIS cache config file.
* <p>
* XML Structure:
*
* <pre>
* <code>
* <TileCacheInfo xsi:type='typens:TileCacheInfo'>
* <SpatialReference xsi:type='typens:ProjectedCoordinateSystem'>
* ....
* </SpatialReference>
* <TileOrigin xsi:type='typens:PointN'>
* <X>-4020900</X>
* <Y>19998100</Y>
* </TileOrigin>
* <TileCols>512</TileCols>
* <TileRows>512</TileRows>
* <DPI>96</DPI>
* <PreciseDPI>96</PreciseDPI>
* <LODInfos xsi:type='typens:ArrayOfLODInfo'>
* <LODInfo xsi:type='typens:LODInfo'>
* <LevelID>0</LevelID>
* <Scale>8000000</Scale>
* <Resolution>2116.670900008467</Resolution>
* </LODInfo>
* .....
* </LODInfos>
* </TileCacheInfo>
* </code>
* </pre>
*
* </p>
*
* @author Gabriel Roldan
*
*/
public class TileCacheInfo {
private SpatialReference spatialReference;
private TileOrigin tileOrigin;
private int tileCols;
private int tileRows;
private int DPI;
private int PreciseDPI;
private List<LODInfo> lodInfos;
public SpatialReference getSpatialReference() {
return spatialReference;
}
public TileOrigin getTileOrigin() {
return tileOrigin;
}
public int getTileCols() {
return tileCols;
}
public int getTileRows() {
return tileRows;
}
public int getDPI() {
return DPI;
}
/**
* New in ArcGIS 10.1+
* @return
*/
public int getPreciseDPI() {
return PreciseDPI;
}
public List<LODInfo> getLodInfos() {
return lodInfos;
}
}