Class GonLiteralImpl<K,V>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.gon.model.GonElementBase<K,V>
org.aksw.jenax.graphql.sparql.v2.gon.model.GonLiteralImpl<K,V>
- All Implemented Interfaces:
GonElement<K,,V> GonLiteral<K,V>
A literal simply wraps a node. Unlike RdfObject, it cannot have additional properties.
It thus represents a leaf in a tree structure.
-
Field Summary
FieldsFields inherited from class org.aksw.jenax.graphql.sparql.v2.gon.model.GonElementBase
parentLink -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aksw.jenax.graphql.sparql.v2.gon.model.GonElementBase
getParent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.gon.model.GonElement
asNull, getAsArray, getAsLiteral, getAsObject, getParent, getRoot, isArray, isLiteral, isNull, isObject, unlinkFromParent
-
Field Details
-
value
-
-
Constructor Details
-
GonLiteralImpl
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceGonLiteral<K,V>
-
accept
- Specified by:
acceptin interfaceGonElement<K,V>
-