|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Prefixes | |
---|---|
info.sswap.http.representation | |
info.sswap.http.representation.json | |
info.sswap.http.util |
Uses of Prefixes in info.sswap.http.representation |
---|
Fields in info.sswap.http.representation declared as Prefixes | |
---|---|
private Prefixes |
Message.prefixes
The definitions of prefixes for this message. |
Methods in info.sswap.http.representation that return Prefixes | |
---|---|
Prefixes |
Message.getPrefixes()
Gets the definitions of prefixes for this message. |
Methods in info.sswap.http.representation with parameters of type Prefixes | |
---|---|
void |
Message.setPrefixes(Prefixes prefixes)
|
Constructors in info.sswap.http.representation with parameters of type Prefixes | |
---|---|
EntityMessage(Prefixes prefixes,
Imports imports)
Creates a message containing only the defnition of namespace prefixes and imports |
|
EntityMessage(Prefixes prefixes,
Imports imports,
Entity entity)
Creates a message containing information about imports, namespace prefixes and the entity contained within the message |
|
EntityMessage(Prefixes prefixes,
Imports imports,
Entity entity,
java.util.Map<java.lang.String,Entity> individuals)
|
|
Message(Prefixes prefixes,
Imports imports)
Creates a new message with the specified prefixes and imports. |
|
PDGMessage(Prefixes prefixes,
Imports imports)
Creates a PDGMessage with the specified prefix and import information. |
|
ProtocolMessage(Prefixes prefixes,
Imports imports)
Creates an object just with prefix and imports declarations |
|
ProtocolMessage(Prefixes prefixes,
Imports imports,
Entity resource,
java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> subjectObjectMap)
Creates an object with all data read from the input |
Uses of Prefixes in info.sswap.http.representation.json |
---|
Methods in info.sswap.http.representation.json that return Prefixes | |
---|---|
static Prefixes |
JsonPrefixFactory.buildPrefixes(org.json.JSONObject object,
java.util.Map<java.lang.String,java.lang.String> overridePrefixes)
Builds a Prefixes object based on the information contained in the given JSONObject |
static Prefixes |
JsonPrefixFactory.extractPrefixes(org.json.JSONObject containingObject,
java.util.Map<java.lang.String,java.lang.String> overridePrefixes)
|
Methods in info.sswap.http.representation.json with parameters of type Prefixes | |
---|---|
private static ArrayValue |
JsonPropertyFactory.buildArrayValue(org.json.JSONArray array,
Prefixes prefixes)
|
static Entity |
JsonEntityFactory.buildEntity(java.lang.String uri,
org.json.JSONObject object,
Prefixes prefixes)
Creates an entity based on its parsed description |
static Imports |
JsonImportFactory.buildImports(org.json.JSONArray array,
Prefixes prefixes)
Builds Imports object from a JSON Array |
static Imports |
JsonImportFactory.buildImports(java.lang.String string,
Prefixes prefixes)
Builds Imports object from a JSON Array |
static java.util.Map<java.lang.String,Entity> |
JsonIndividualFactory.buildIndividualsMap(org.json.JSONObject object,
Prefixes prefixes)
Builds a map with defined individuals individuals |
private static LiteralValue |
JsonPropertyFactory.buildLiteralValueFromJSONObject(org.json.JSONObject valueObject,
Property property,
Prefixes prefixes)
Builds a property value object/reads information about the property (for complex property representations like "prefix:property" : { "value" : "42" } -- since only the complex representations can set datatype and cardinality restrictions). |
static Mapping |
JsonMappingFactory.buildMapping(org.json.JSONObject jsonObject,
Prefixes prefixes)
Builds a mapping from the Json representation. |
static java.util.Collection<Mapping> |
JsonMappingFactory.buildMappings(org.json.JSONArray jsonArray,
Prefixes prefixes)
Builds a mapping from the Json representation. |
static Property |
JsonPropertyFactory.buildProperty(org.json.JSONObject enclosingObject,
java.lang.String key,
Prefixes prefixes)
Builds a Property object (and its associated Value, if applicable). |
private static Value |
JsonPropertyFactory.buildValueFromComplexRepresentation(org.json.JSONObject valueObject,
Property property,
Prefixes prefixes)
Builds a value based on the complex form of value representation (e.g., { "value" : 42, "cardinality" : [ 0, 1 ] } or a nested entity). |
private static LiteralValue |
JsonPropertyFactory.createLiteralValue(java.lang.String explicitDatatype,
java.lang.String value,
Prefixes prefixes)
|
static Imports |
JsonImportFactory.extractImports(org.json.JSONObject containingObject,
Prefixes prefixes)
Extracts imports information from a JSON object. |
private static java.lang.String |
JsonPropertyFactory.extractLiteralTypeFromValue(java.lang.String value,
Prefixes prefixes)
|
private static java.util.Collection<java.lang.String> |
JsonMappingFactory.processArray(org.json.JSONArray array,
Prefixes prefixes)
Converts a JSON array of QNames into a corresponding collection of URIs (encoded as strings) |
Uses of Prefixes in info.sswap.http.util |
---|
Methods in info.sswap.http.util with parameters of type Prefixes | |
---|---|
static void |
PrefixUtil.setPrefixes(info.sswap.api.model.SSWAPModel model,
Prefixes prefixes)
Sets the prefixes read from Prefixes model to a SSWAPModel. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |