public abstract class WMTSThemesImpl extends ArrayList<WMTSThemeImpl> implements WMTSThemes
modCount
Constructor and Description |
---|
WMTSThemesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
calculateLayers(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(String name)
Gets a node by its name
|
boolean |
hasThemes()
Returns true if this server has themes
|
void |
loadThemesWithLayerInfo(List<WMTSLayer> layers,
WMTSServerDescription status)
Loads this list of themes with the layer information
|
abstract void |
parse(KXmlParser parser)
Parses this service ID
|
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public abstract void parse(KXmlParser parser) throws IOException, XmlPullParserException
parser
- content
- IOException
XmlPullParserException
public boolean hasThemes()
WMTSThemes
hasThemes
in interface WMTSThemes
public void calculateLayers(List<WMTSLayer> layers)
layers
- public void loadThemesWithLayerInfo(List<WMTSLayer> layers, WMTSServerDescription status)
layers
- public WMTSTheme getNodeByName(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 String toString()
toString
in interface WMTSThemes
toString
in class AbstractCollection<WMTSThemeImpl>