Interface AbstractWmtsSource.HasCapabilities
- All Known Subinterfaces:
AbstractWmtsSource.HasWmtsSourceOptions
- All Known Implementing Classes:
NoOpWmtsSource,WmtsSource
- Enclosing class:
AbstractWmtsSource
public static interface AbstractWmtsSource.HasCapabilities
Interface to be implemented by sources that can be configured from a WMTS GetCapabilities document.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetCapabilities(String capabilities) Sets the raw WMTS GetCapabilities XML document.
-
Method Details
-
getCapabilities
String getCapabilities()- Returns:
- the raw GetCapabilities XML or
nullif not set
-
setCapabilities
Sets the raw WMTS GetCapabilities XML document. When set, the client derives the complete source configuration (tile grid, URLs, format, style, matrix set, request encoding) from this document, using explicitly set attributes as hints. An alternative toAbstractWmtsSource.HasTileGrid.setTileGrid(WmtsTileGrid). Setting a new document after the source has been created recreates the client-side source.- Parameters:
capabilities- GetCapabilities XML to set
-