public class GisLayer extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
LAYER_BLUE |
static java.lang.String |
LAYER_GAODE |
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
GisLayer() |
限定符和类型 | 方法和说明 |
---|---|
void |
addWmsLayer(WMSLayer layer) |
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object ob) |
java.lang.String |
getAttribution() |
java.lang.String |
getCustomTileLayer() |
GISLayerType |
getGisLayerType() |
java.lang.String |
getLayerName() |
java.lang.String |
getShowItemName() |
java.util.List<WMSLayer> |
getWmsLayers() |
java.lang.String |
getWmsUrl() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAttribution(java.lang.String attribution) |
void |
setCustomTileLayer(java.lang.String customTileLayer) |
void |
setGisLayerType(GISLayerType gisLayerType) |
void |
setLayerName(java.lang.String layerName) |
void |
setWmsLayers(java.util.List<WMSLayer> wmsLayers) |
void |
setWmsUrl(java.lang.String wmsUrl) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public static final java.lang.String LAYER_GAODE
public static final java.lang.String LAYER_BLUE
public java.lang.String getCustomTileLayer()
public void setCustomTileLayer(java.lang.String customTileLayer)
public java.lang.String getWmsUrl()
public void setWmsUrl(java.lang.String wmsUrl)
public java.util.List<WMSLayer> getWmsLayers()
public void setWmsLayers(java.util.List<WMSLayer> wmsLayers)
public void addWmsLayer(WMSLayer layer)
public GISLayerType getGisLayerType()
public void setGisLayerType(GISLayerType gisLayerType)
public java.lang.String getAttribution()
public void setAttribution(java.lang.String attribution)
public java.lang.String getLayerName()
public java.lang.String getShowItemName()
public void setLayerName(java.lang.String layerName)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public boolean equals(java.lang.Object ob)
equals
在类中 java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常