org.opensha.commons.data.siteData
Class SiteDataValueListList
java.lang.Object
org.opensha.commons.data.siteData.SiteDataValueListList
- All Implemented Interfaces:
- XMLSaveable
public class SiteDataValueListList
- extends Object
- implements XMLSaveable
This represents a list of site data value lists. It is most useful for applications such
as hazard maps, and for XML saving/loading.
- Author:
- Kevin Milner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_METADATA_NAME
public static final String XML_METADATA_NAME
- See Also:
- Constant Field Values
SiteDataValueListList
public SiteDataValueListList(ArrayList<SiteDataValueList<?>> lists)
size
public int size()
getNumProviders
public int getNumProviders()
getDataList
public ArrayList<SiteDataValue<?>> getDataList(int index)
getDataLocation
public Location getDataLocation(int index)
hasLocations
public boolean hasLocations()
toXMLMetadata
public Element toXMLMetadata(Element root)
- Specified by:
toXMLMetadata in interface XMLSaveable
fromXMLMetadata
public static SiteDataValueListList fromXMLMetadata(Element listsEl)
main
public static void main(String[] args)
throws IOException
- Throws:
IOException