public abstract class AbstractWMTSResource
extends ResourceBaseAdapter
WMTS 资源抽象类。提供 WMTS 服务 RESTful 实现时,所需资源基本功能的抽象。
| 构造器和说明 | 
|---|
AbstractWMTSResource(Context context, Request request, Response response)
构造函数,通过应用上下文、请求对象、响应对象构造  
AbstractWMTSResource 对象。 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
void | 
checkGetTileParams(WMTSGetTileParameter tileParameter, java.util.List<java.lang.String> mapNames, java.util.List<TileMatrixSet> tileMatrixSets, VerifyMode verifyMode)
检查WMST的TileParamter操作layer,tileMatrixSet,tileMatrix,tileRow,tileCol,style是否正确 
 | 
void | 
create(java.lang.Object obj)  | 
protected java.lang.String | 
getBaseUri()
获取WMTS 服务的根地址。 
 | 
protected WMTSConfig | 
getConfig()
获取 WMTS 服务配置信息。 
 | 
protected Image | 
getImageComponent()  | 
protected Map | 
getMapComponent()
获取向 WMTS 服务提供地图功能的地图服务组件。 
 | 
WMTSGetCapabilities | 
getWMTSCapabilities(Image imageComponent, Map mapComponent, WMTSConfig wmtsConfig, java.util.List<java.lang.String> publishMapNames, java.lang.String baseUri)
获取WMTS Capabilities 
 | 
boolean | 
isAddContent()  | 
boolean | 
isResourceExist()
资源是否存在。 
 | 
boolean | 
isUpdate()  | 
public AbstractWMTSResource(Context context,
                    Request request,
                    Response response)
构造函数,通过应用上下文、请求对象、响应对象构造 AbstractWMTSResource 对象。
context - REST 应用上下文。request - 请求对象。response - 响应对象。protected final WMTSConfig getConfig()
获取 WMTS 服务配置信息。
protected final java.lang.String getBaseUri()
获取WMTS 服务的根地址。
protected final Map getMapComponent()
获取向 WMTS 服务提供地图功能的地图服务组件。
protected final Image getImageComponent()
public void checkGetTileParams(WMTSGetTileParameter tileParameter, java.util.List<java.lang.String> mapNames, java.util.List<TileMatrixSet> tileMatrixSets, VerifyMode verifyMode)
检查WMST的TileParamter操作layer,tileMatrixSet,tileMatrix,tileRow,tileCol,style是否正确
tileParameter -mapNames -tileMatrixSets -verifyMode -public void create(java.lang.Object obj)
public boolean isAddContent()
public boolean isUpdate()
public boolean isResourceExist()
资源是否存在。本资源一直存在。
public WMTSGetCapabilities getWMTSCapabilities(Image imageComponent, Map mapComponent, WMTSConfig wmtsConfig, java.util.List<java.lang.String> publishMapNames, java.lang.String baseUri)
mapComponent -wmtsConfig - 配置信息publishMapNames - 地图名称baseUri - url