Package org.geotools.ows.wmts.model
Class WMTSCapabilities
- Object
-
- Capabilities
-
- WMTSCapabilities
-
public class WMTSCapabilities extends Capabilities
Represents a base object for a WMTS getCapabilities response.(Based on existing work by rgould for WMS service)
- Author:
- ian, Emanuele Tajariol (etj at geo-solutions dot it), Matthias Schulze (LDBV at ldbv dot bayern dot de)
-
-
Constructor Summary
Constructors Constructor Description WMTSCapabilities(CapabilitiesType capabilities)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CRSEnvelope
bbox2bbox(BoundingBoxType bbox)
String[]
getExceptions()
Exceptions declare what kind of formats this server can return exceptions in.WMTSLayer
getLayer(String name)
List<WMTSLayer>
getLayerList()
Access a flat view of the layers available in the WMTS.TileMatrixSet
getMatrixSet(String identifier)
List<TileMatrixSet>
getMatrixSets()
WMTSRequest
getRequest()
The request contains information about possible Requests that can be made against this server, including URLs and formats.WMTSServiceType
getType()
void
setExceptions(String[] exceptions)
void
setMatrixSets(List<TileMatrixSet> matrixes)
Clears all matrixSet's and populates with the listvoid
setRequest(WMTSRequest request)
-
Methods inherited from class Capabilities
getService, getUpdateSequence, getVersion, setService, setUpdateSequence, setVersion
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
-
Constructor Detail
-
WMTSCapabilities
public WMTSCapabilities(CapabilitiesType capabilities) throws ServiceException
- Throws:
ServiceException
-
-
Method Detail
-
getType
public WMTSServiceType getType()
- Returns:
- the type
-
getLayerList
public List<WMTSLayer> getLayerList()
Access a flat view of the layers available in the WMTS.- Returns:
- Unmodifiable List of all available layers
-
getRequest
public WMTSRequest getRequest()
The request contains information about possible Requests that can be made against this server, including URLs and formats.- Returns:
- Returns the request.
-
setRequest
public void setRequest(WMTSRequest request)
- Parameters:
request
- The request to set.
-
getExceptions
public String[] getExceptions()
Exceptions declare what kind of formats this server can return exceptions in. They are used during subsequent requests.
-
setExceptions
public void setExceptions(String[] exceptions)
-
getMatrixSets
public List<TileMatrixSet> getMatrixSets()
- Returns:
- An unmodifiable list of MatrixSets
-
setMatrixSets
public void setMatrixSets(List<TileMatrixSet> matrixes)
Clears all matrixSet's and populates with the list
-
getMatrixSet
public TileMatrixSet getMatrixSet(String identifier)
-
getLayer
public WMTSLayer getLayer(String name)
- Parameters:
name
- of the layer- Returns:
- the WMTS layer
-
bbox2bbox
public static CRSEnvelope bbox2bbox(BoundingBoxType bbox)
-
-