|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.representation.json.JsonIndividualFactory
public class JsonIndividualFactory
Creates a map of individuals from their definitions ("definitions" section of the JSON document).
Constructor Summary | |
---|---|
JsonIndividualFactory()
|
Method Summary | |
---|---|
static java.util.Map<java.lang.String,Entity> |
buildIndividualsMap(org.json.JSONObject object,
Prefixes prefixes)
Builds a map with defined individuals individuals |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonIndividualFactory()
Method Detail |
---|
public static java.util.Map<java.lang.String,Entity> buildIndividualsMap(org.json.JSONObject object, Prefixes prefixes) throws org.json.JSONException
object
- the object that contains the individual definitionsprefixes
- the definition of prefixes for this JSON document
org.json.JSONException
- if JSON data is not syntactically valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |