[ONOS-4880][ONOS-5021]IETF TE Topology Provider

The provider introduces IETF TE Topology YANG models and interacts with RESTCONF
client and YMS to provide IETF TE Topology to TE Topology Core subsystem.

This issue implements the interaction with RESTCONF client to obtain network topology
in JSON from south bound.

Change-Id: If203a98db69a516c8b09cb9247724e49a95abe4f
diff --git a/providers/ietfte/topology/src/main/java/org/onosproject/provider/te/topology/YangCompositeEncodingImpl.java b/providers/ietfte/topology/src/main/java/org/onosproject/provider/te/topology/YangCompositeEncodingImpl.java
new file mode 100644
index 0000000..3597536
--- /dev/null
+++ b/providers/ietfte/topology/src/main/java/org/onosproject/provider/te/topology/YangCompositeEncodingImpl.java
@@ -0,0 +1,56 @@
+package org.onosproject.provider.te.topology;
+
+import org.onosproject.yms.ych.YangCompositeEncoding;
+import org.onosproject.yms.ych.YangResourceIdentifierType;
+
+/**
+ * Represents implementation of YangCompositeEncoding interfaces.
+ */
+public class YangCompositeEncodingImpl implements YangCompositeEncoding {
+
+    /**
+     * Resource identifier for composite encoding.
+     */
+    private final String resourceIdentifier;
+
+    /**
+     * Resource information for composite encoding.
+     */
+    private final String resourceInformation;
+
+    /**
+     * Resource identifier type.
+     */
+    public final YangResourceIdentifierType resourceIdentifierType;
+
+    /**
+     * Creates an instance of YangCompositeEncodingImpl.
+     *
+     * @param resourceIdentifierType is URI
+     * @param resourceIdentifier is the URI string
+     * @param resourceInformation is the JSON body string
+     */
+    public YangCompositeEncodingImpl(YangResourceIdentifierType resourceIdentifierType,
+                                     String resourceIdentifier,
+                                     String resourceInformation) {
+        this.resourceIdentifierType = resourceIdentifierType;
+        this.resourceIdentifier = resourceIdentifier;
+        this.resourceInformation = resourceInformation;
+    }
+
+    @Override
+    public String getResourceIdentifier() {
+        return resourceIdentifier;
+    }
+
+    @Override
+    public YangResourceIdentifierType getResourceIdentifierType() {
+        return resourceIdentifierType;
+    }
+
+    @Override
+    public String getResourceInformation() {
+        return resourceInformation;
+    }
+}
+