public class

WMTSTileMatrixSet

extends OwsDescription
java.lang.Object
   ↳ com.esri.core.ogc.OwsItem
     ↳ com.esri.core.ogc.OwsDescription
       ↳ com.esri.core.ogc.wmts.WMTSTileMatrixSet

Class Overview

This class contains a collection of WMTSTileMatrix instances and defines all the levels of detail covered by a WMTS layer. An instance of this class is associated with a WMTS layer by sharing an ID with one of its WMTSItleMatrixSetLinks.

Summary

Nested Classes
class WMTSTileMatrixSet.TileMatrixComparator Compare two WMTS tile matrices for the purpose of sorting them from largest scale denominator to lowest. 
[Expand]
Inherited Fields
From class com.esri.core.ogc.OwsItem
Public Constructors
WMTSTileMatrixSet(Envelope extent, TileInfo tileInfo, String identifier)
Create an instance of this class from the given TileInfo.
WMTSTileMatrixSet()
Public Methods
void characters(char[] ch, int start, int length)
Called whenever there is any text associated with an element (rather than its attributes).
void endElement(String localName)
This method is called when we reach the end of the XML element with the given name.
Envelope getExtent()
Gets the extent of this tile matrix set.
String getIdentifier()
Gets this instance's identifier.
SpatialReference getSupportedCRS()
Gets the spatial reference of this tile matrix set.
List<WMTSTileMatrix> getTileMatrices()
Gets a list of all the tile matrix sets defining all the levels of detail defined by this tile matrix set.
WMTSTileMatrix getTileMatrix(String identifier)
Get a specific tile matrix with the given ID.
void startElement(String localName, Attributes atts)
This method is called to start processing the XML element with the given name.
[Expand]
Inherited Methods
From class com.esri.core.ogc.OwsDescription
From class com.esri.core.ogc.OwsItem
From class java.lang.Object

Public Constructors

public WMTSTileMatrixSet (Envelope extent, TileInfo tileInfo, String identifier)

Create an instance of this class from the given TileInfo. The LODs inside the tile info will be used to create each tile matrix.

Parameters
tileInfo TileInfo: contains information used to create tile matrices
identifier String: identifier of this instance

public WMTSTileMatrixSet ()

Public Methods

public void characters (char[] ch, int start, int length)

Called whenever there is any text associated with an element (rather than its attributes). Note that this method may be called repeatedly for any particular element so any text here will be appended to the end of the previous text.

Parameters
ch char: characters to process
start int: start point of text relevant to this call
length int: length of text

public void endElement (String localName)

This method is called when we reach the end of the XML element with the given name. Note that this method will be called for subsequent child elements as well as sibling elements. Use the contents of the stack to determine where we are in the XML being parsed.

public Envelope getExtent ()

Gets the extent of this tile matrix set.

Returns
Envelope extent of this tile matrix set

public String getIdentifier ()

Gets this instance's identifier. This will match the identifier of one or more WMTSTileMatrixSetLinks on one or more WMTS layers.

Returns
String this instance's identifier

public SpatialReference getSupportedCRS ()

Gets the spatial reference of this tile matrix set.

Returns
SpatialReference spatial reference of this tile matrix set

public List<WMTSTileMatrix> getTileMatrices ()

Gets a list of all the tile matrix sets defining all the levels of detail defined by this tile matrix set.

Returns
List<WMTSTileMatrix> list of tile matrix sets

public WMTSTileMatrix getTileMatrix (String identifier)

Get a specific tile matrix with the given ID.

Returns
WMTSTileMatrix a tile matrix with an ID to match identifier or null if no match is found

public void startElement (String localName, Attributes atts)

This method is called to start processing the XML element with the given name. Any attributes of the element are provided here. Any text contained within the element will be available on the next call to characters(char[], int, int).

Parameters
localName String
atts Attributes: attributes of the current element, if any