Class IdentifierSerializer
java.lang.Object
cz.cvut.kbss.jsonld.serialization.serializer.compact.IdentifierSerializer
- All Implemented Interfaces:
- Configurable,- ValueSerializer<String>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionserialize(String value, SerializationContext<String> ctx) Serializes the specified value, returning a JSON-LD node representing it.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.cvut.kbss.jsonld.serialization.serializer.ValueSerializerconfigure
- 
Constructor Details- 
IdentifierSerializerpublic IdentifierSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:ValueSerializerSerializes the specified value, returning a JSON-LD node representing it.Note that if the value is a singular, the returned node should also contain the identifier of the serialized attribute (available through the provided serialization context). - Specified by:
- serializein interface- ValueSerializer<String>
- Parameters:
- value- Value to serialize
- ctx- Serialization context
- Returns:
- Serialization result
 
 
-