|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.internal.value.LayerInfo
public class LayerInfo
Constructor Summary | |
---|---|
LayerInfo(int layerId,
LayerSource source)
|
Method Summary | |
---|---|
String |
getDefinitionExpression()
Gets the definition expression. |
int |
getId()
Gets the layer id. |
LayerSource |
getLayerSource()
Gets the layer source. |
void |
setDefinitionExpression(String definitionExpression)
Sets the definition expression. |
void |
setId(int id)
Sets the layer id. |
void |
setLayerSource(LayerSource layerSource)
Sets the layer source. |
String |
toJson()
Convert this instance to a json string to allow it to be passed to a dynamic map service REST endpoint. |
protected void |
toJson(org.codehaus.jackson.JsonGenerator node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayerInfo(int layerId, LayerSource source)
Method Detail |
---|
public int getId()
LayerInfoItem
getId
in interface LayerInfoItem
public void setId(int id)
LayerInfoItem
setId
in interface LayerInfoItem
id
- the new idpublic LayerSource getLayerSource()
public void setLayerSource(LayerSource layerSource)
layerSource
- the new layer sourcepublic String getDefinitionExpression()
public void setDefinitionExpression(String definitionExpression)
definitionExpression
- the new definition expressionpublic String toJson() throws Exception
toJson
in interface LayerInfoItem
Exception
- the exceptionprotected void toJson(org.codehaus.jackson.JsonGenerator node) throws IOException, org.codehaus.jackson.JsonGenerationException, Exception
node
-
IOException
org.codehaus.jackson.JsonGenerationException
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |