Interface NodeConverter

  • All Known Implementing Classes:
    JsonNodeConverter, XmlNodeConverter

    @Deprecated(forRemoval=true)
    public interface NodeConverter
    Deprecated, for removal: This API element is subject to removal in a future version.
    This interface is moved to lighty-codecs-util.
    This interface may be useful when (de)serializing NormalizedNodes (from)into its XML or JSON representation. Currently there are two implementations XmlNodeConverter and JsonNodeConverter.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> deserialize​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, Reader inputData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method will deserialize the given input data into NormalizedNodes.
      Writer serializeData​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method will serialize the given NormalizedNode into its string representation.
      Writer serializeRpc​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      This method will serialize the input NormalizedNode RPC into its string representation.