Package org.aksw.jenax.io.json.gon
Interface GonElement<K,V>
- All Known Subinterfaces:
GonArray<K,,V> GonLiteral<K,,V> GonObject<K,V>
- All Known Implementing Classes:
GonArrayImpl,GonElementBase,GonLiteralImpl,GonNull,GonObjectImpl
public interface GonElement<K,V>
A data model for RDF tree structures akin to gson's JsonElement.
-
Method Summary
Modifier and TypeMethodDescription<T> Taccept(GonElementVisitor<K, V, T> visitor) asNull()default GonLiteral<K,V> ParentLink<K,V> default GonElement<K,V> getRoot()default booleanisArray()default booleandefault booleanisNull()default booleanisObject()default void
-
Method Details
-
isArray
default boolean isArray() -
getAsArray
-
isObject
default boolean isObject() -
getAsObject
-
isLiteral
default boolean isLiteral() -
getAsLiteral
-
isNull
default boolean isNull() -
asNull
-
accept
-
getParent
ParentLink<K,V> getParent() -
unlinkFromParent
default void unlinkFromParent() -
getRoot
-