Package org.aksw.jenax.io.json.gon
Class GonProviderJava<K,V>
java.lang.Object
org.aksw.jenax.io.json.gon.GonProviderJava<K,V>
- All Implemented Interfaces:
GonProvider<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(Object arr, Object value) asObjectMap(Object obj) getLiteral(Object obj) getProperty(Object obj, Object key) booleanbooleanNon-null literal.booleanbooleanlistElements(Object arr) listProperties(Object obj) newArray()static <K,V> GonProviderJava<K, V> newLiteral(V value) newNull()voidremoveElement(Object arr, int index) voidremoveProperty(Object obj, Object key) voidsetElement(Object arr, int index, Object value) voidsetProperty(Object obj, K key, Object value)
-
Constructor Details
-
GonProviderJava
public GonProviderJava()
-
-
Method Details
-
newInstance
-
parse
- Specified by:
parsein interfaceGonProvider<K,V>
-
newObject
- Specified by:
newObjectin interfaceGonProvider<K,V>
-
isObject
- Specified by:
isObjectin interfaceGonProvider<K,V>
-
asObjectMap
-
setProperty
- Specified by:
setPropertyin interfaceGonProvider<K,V>
-
getProperty
- Specified by:
getPropertyin interfaceGonProvider<K,V>
-
removeProperty
- Specified by:
removePropertyin interfaceGonProvider<K,V>
-
listProperties
- Specified by:
listPropertiesin interfaceGonProvider<K,V>
-
newArray
- Specified by:
newArrayin interfaceGonProvider<K,V>
-
isArray
- Specified by:
isArrayin interfaceGonProvider<K,V>
-
asGonList
-
addElement
- Specified by:
addElementin interfaceGonProvider<K,V>
-
setElement
- Specified by:
setElementin interfaceGonProvider<K,V>
-
removeElement
- Specified by:
removeElementin interfaceGonProvider<K,V>
-
listElements
- Specified by:
listElementsin interfaceGonProvider<K,V>
-
newLiteral
- Specified by:
newLiteralin interfaceGonProvider<K,V>
-
isLiteral
Description copied from interface:GonProviderNon-null literal.- Specified by:
isLiteralin interfaceGonProvider<K,V>
-
getLiteral
- Specified by:
getLiteralin interfaceGonProvider<K,V>
-
newNull
- Specified by:
newNullin interfaceGonProvider<K,V>
-
isNull
- Specified by:
isNullin interfaceGonProvider<K,V>
-