org.gvsig.remoteclient.wmts.struct
Class WMTSThemes

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.gvsig.remoteclient.wmts.struct.WMTSThemes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess
Direct Known Subclasses:
WMTSThemes_1_0_0

public abstract class WMTSThemes
extends java.util.ArrayList

Layer hierarchy

Author:
Nacho Brodin (nachobrodin@gmail.com)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
WMTSThemes()
           
 
Method Summary
 void calculateLayers(java.util.ArrayList layers)
          Assign the layer associated
 int getChildCount()
          Gets the number of nodes
 WMTSTheme 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
 void loadThemesWithLayerInfo(java.util.ArrayList layers, WMTSServerDescription status)
          Loads this list of themes with the layer information
abstract  void parse(org.kxml2.io.KXmlParser parser)
          Parses this service ID
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

WMTSThemes

public WMTSThemes()
Method Detail

parse

public abstract void parse(org.kxml2.io.KXmlParser parser)
                    throws java.io.IOException,
                           org.xmlpull.v1.XmlPullParserException
Parses this service ID

Parameters:
parser -
content -
Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException

calculateLayers

public void calculateLayers(java.util.ArrayList layers)
Assign the layer associated

Parameters:
layers -

loadThemesWithLayerInfo

public void loadThemesWithLayerInfo(java.util.ArrayList layers,
                                    WMTSServerDescription status)
Loads this list of themes with the layer information

Parameters:
layers -

getNodeByName

public WMTSTheme getNodeByName(java.lang.String name)
Gets a node by its name

Parameters:
name -
Returns:

getChildCount

public int getChildCount()
Gets the number of nodes

Parameters:
parent -
Returns:

getChildren

public WMTSTheme getChildren(int index)
Gets the children of the index position

Parameters:
index -
Returns:

getIndexOfChild

public int getIndexOfChild(WMTSTheme child)
Gets the index of a children

Parameters:
parent -
child -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection


Copyright © 2004-2013 gvSIG. All Rights Reserved.