public abstract class WMTSThemesImpl extends java.util.ArrayList<WMTSThemeImpl> implements WMTSThemes
Constructor and Description |
---|
WMTSThemesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
calculateLayers(java.util.List<WMTSLayer> layers)
Assign the layer associated
|
int |
getChildCount()
Gets the number of nodes
|
WMTSThemeImpl |
getChildren(int index)
Gets the children of the index position
|
int |
getIndexOfChild(WMTSTheme child)
Gets the index of a children
|
WMTSTheme |
getNodeByName(java.lang.String name)
Gets a node by its name
|
boolean |
hasThemes()
Returns true if this server has themes
|
void |
loadThemesWithLayerInfo(java.util.List<WMTSLayer> layers,
WMTSServerDescription status)
Loads this list of themes with the layer information
|
abstract void |
parse(KXmlParser parser)
Parses this service ID
|
void |
sort() |
java.lang.String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public abstract void parse(KXmlParser parser) throws java.io.IOException, XmlPullParserException
parser
- content
- java.io.IOException
XmlPullParserException
public boolean hasThemes()
WMTSThemes
hasThemes
in interface WMTSThemes
public void calculateLayers(java.util.List<WMTSLayer> layers)
layers
- public void loadThemesWithLayerInfo(java.util.List<WMTSLayer> layers, WMTSServerDescription status)
layers
- public WMTSTheme getNodeByName(java.lang.String name)
getNodeByName
in interface WMTSThemes
name
- public int getChildCount()
getChildCount
in interface WMTSThemes
parent
- public WMTSThemeImpl getChildren(int index)
getChildren
in interface WMTSThemes
index
- public int getIndexOfChild(WMTSTheme child)
getIndexOfChild
in interface WMTSThemes
parent
- child
- public java.lang.String toString()
toString
in interface WMTSThemes
toString
in class java.util.AbstractCollection<WMTSThemeImpl>
public void sort()
sort
in interface WMTSThemes