package org.openecomp.mso.yangDecoder.transform.api; import org.opendaylight.yangtools.yang.binding.DataObject; import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; import org.opendaylight.yangtools.yang.binding.Notification; /** * Created by Administrator on 2017/3/21. */ public interface ITransformJava2StringService { //following function encode String transformContrainerDataObjectToString(InstanceIdentifier instanceIdentifier, String uriPath, T dataObject) throws Exception; String transformNotificationToString(String uriPath, T notification) throws Exception; String transformRpcDataObjectToString(String uriPath, T dataObject) throws Exception; //following function decode //for container DataObject transformContrainerDataObjectFromString(String uriPath, String sxml, boolean ispost) throws Exception; //notification Notification transformNotificationFromString(String notficationName, String sxml) throws Exception; //for rpc DataObject transformRpcDataObjectFromString(String rpcName, String sxml) throws Exception; }