|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.representation.json.JsonEntityFactory
public class JsonEntityFactory
Creates an Entity based on its parsed description (in the form of a JSONObject)
Constructor Summary | |
---|---|
JsonEntityFactory()
|
Method Summary | |
---|---|
static Entity |
buildEntity(java.lang.String uri,
org.json.JSONObject object,
Prefixes prefixes)
Creates an entity based on its parsed description |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonEntityFactory()
Method Detail |
---|
public static Entity buildEntity(java.lang.String uri, org.json.JSONObject object, Prefixes prefixes) throws org.json.JSONException
uri
- the uri of the entity to be createdobject
- the JSON object describing all the properties of an entityprefixes
- the prefix definitions (used to resolve QNames within the entity)
org.json.JSONException
- if there is a syntax error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |