| Package | Description |
|---|---|
| com.googlecode.fascinator.common |
This module contains useful utility classes used by The Fascinator and various plugins.
|
| com.googlecode.fascinator.common.solr | |
| com.googlecode.fascinator.common.transaction |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonSimpleConfig
An extension of the JsonSimple class specifically to access configuration.
|
class |
Manifest
Represents a JSON manifest as used in other parts of the application.
|
class |
ManifestNode
Represents a node in a JSON manifest.
|
| Modifier and Type | Method and Description |
|---|---|
JsonSimple |
PythonUtils.getJsonObject(java.io.InputStream in)
Parse a JSON object from an inputstream
|
JsonSimple |
IndexAndPayloadComposite.getPayloadData() |
JsonSimple |
StorageDataUtil.getPayloadJsonSimple(Payload payload)
Get a playload in JsonSimple format from the payload instance
|
JsonSimple |
StorageDataUtil.getPayloadJsonSimple(Storage storage,
java.lang.String oid,
java.lang.String payloadName)
Get a playload in JsonSimple format in the specified Storage instance by
its object ID and the name of payload.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<JsonSimple> |
JsonSimple.getJsonSimpleList(java.lang.Object... path)
Retrieve a list of JsonSimple objects found on the given path.
|
java.util.List<JsonSimple> |
JsonSimpleConfig.getJsonSimpleList(java.lang.Object... path)
Retrieve a list of JsonSimple objects found on the given path.
|
java.util.Map<java.lang.String,JsonSimple> |
JsonSimple.getJsonSimpleMap(java.lang.Object... path)
Retrieve a map of JsonSimple objects found on the given path.
|
java.util.Map<java.lang.String,JsonSimple> |
JsonSimpleConfig.getJsonSimpleMap(java.lang.Object... path)
Retrieve a map of JsonSimple objects found on the given path.
|
static java.util.List<JsonSimple> |
JsonSimple.toJavaList(org.json.simple.JSONArray array)
Take all of the JsonObjects found in a JSONArray, wrap them in
JsonSimple objects, then add to a Java list and return.
|
static java.util.Map<java.lang.String,JsonSimple> |
JsonSimple.toJavaMap(JsonObject object)
Take all of the JsonObjects found in a JsonObject, wrap them in
JsonSimple objects, then add to a Java Map and return.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
StorageDataUtil.get(JsonSimple json,
java.lang.Object... field)
Trivial wrapper for call into JSON Library.
|
java.lang.String |
StorageDataUtil.getDefaultValueIfNull(JsonSimple json,
java.lang.String defaultValue,
java.lang.Object... field)
Similar to get Method but return a string supplied by caller if cannot
get the field
|
java.lang.String |
StorageDataUtil.getEmptyIfNull(JsonSimple json,
java.lang.Object... field)
Similar to get Method but return empty string instead of null
|
java.util.List<JsonObject> |
StorageDataUtil.getJavaList(JsonSimple json,
java.lang.String baseKey)
getJavaList method to reconstruct an list of JSONObjects of a key from a
JsonSimple object
|
java.util.Map<java.lang.String,java.lang.Object> |
StorageDataUtil.getList(JsonSimple json,
java.lang.String baseKey)
Getlist method to get the values of key from the sourceMap
|
java.util.List<java.lang.String> |
StorageDataUtil.getStringList(JsonSimple json,
java.lang.String baseKey)
getStringList method to reconstruct an list of String of a key from a
JsonSimple object
|
void |
IndexAndPayloadComposite.setPayloadData(JsonSimple payloadData) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,JsonObject> |
JsonSimple.fromJavaMap(java.util.Map<java.lang.String,JsonSimple> from)
Take all of the JsonSimple objects in the given Map and return a Map
having replace them all with their base JsonObjects.
|
| Constructor and Description |
|---|
IndexAndPayloadComposite(SolrDoc indexedData,
JsonSimple payloadData)
Builds an instance using the indexed data, accessing the storage for the
appropriate payload specified in
|
| Modifier and Type | Class and Description |
|---|---|
class |
SolrDoc
An extension of the JsonSimple class specifically to address Solr result
documents and shortcut common access.
|
class |
SolrResult
An extension of the JsonSimple class specifically to address Solr result
documents and shortcut common access.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JsonSimple |
GenericTransactionManager.parseMessage(JsonSimple message)
This method is expected to be overwritten by implementations.
|
| Modifier and Type | Method and Description |
|---|---|
abstract JsonSimple |
GenericTransactionManager.parseMessage(JsonSimple message)
This method is expected to be overwritten by implementations.
|
Copyright © 2009-2019. All Rights Reserved.