|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.Domain
public abstract class Domain
The abstract class Domain
is the superclass of classes CodedValueDomain and RangeDomain. Subclasses of
Domain
must provide method to create a deep copy of itself.
Field Summary | |
---|---|
protected String |
domainName
The name of the domain. |
Constructor Summary | |
---|---|
Domain()
|
Method Summary | |
---|---|
static Domain |
fromJson(org.codehaus.jackson.JsonParser parser)
Decodes objects from JSON representation. |
String |
getDomainName()
Gets the domainName of the Domain. |
void |
setDomainName(String domainName)
Sets the domainName of the Domain. |
static String |
toJson(Domain domain)
Serializes the given Domain object into a JSON string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String domainName
Constructor Detail |
---|
public Domain()
Method Detail |
---|
public String getDomainName()
public void setDomainName(String domainName)
domainName
- The domainName to set.public static Domain fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
parser
- the Jackson parser holding the JSON data.
Exception
- the exceptionpublic static String toJson(Domain domain) throws Exception
domain
- a Domain object
Exception
- An exception thrown the object cannot be serialized into json string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |