public class

WMTSStyle

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

Class Overview

This class defines a style for a WMTS layer.

Summary

[Expand]
Inherited Fields
From class com.esri.core.ogc.OwsItem
Public Constructors
WMTSStyle()
Creates a new instance of this class with isDefault set to true and the name "default".
Public Methods
void endElement(String localNames)
This method is called when we reach the end of the XML element with the given name.
String getIdentifier()
Gets the identifier for this style.
boolean isDefault()
Indicates whether or not this style is the default style.
[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 WMTSStyle ()

Creates a new instance of this class with isDefault set to true and the name "default".

Public Methods

public void endElement (String localNames)

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 String getIdentifier ()

Gets the identifier for this style. This is the value that should be used with the style parameter for tile requests in KVP mode or the style token in a parameterized REST URL.

Returns
String identifier for this style

public boolean isDefault ()

Indicates whether or not this style is the default style. The default style is the one that will be used if a style is not specified.

Returns
boolean true if this is the default style, false otherwise