@Test public void getInstance() throws Exception { String queryUsedYangModules = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"1542612595090\">\n" + " <get>\n" + " <filter type=\"subtree\">\n" + " <in-use-library-modules xmlns=\"urn:bbf:yang:obbaa:module-library-check\" />\n" + " </filter>\n" + " </get>\n" + "</rpc>"; QueryYangModuleInUseRpc queryYangModuleInUseRpc = QueryYangModuleInUseRpc.getInstance(queryUsedYangModules); assertNotNull(queryYangModuleInUseRpc.getUsedYangModules()); }
public static QueryYangModuleInUseRpc getInstance(String netconfMessage) throws DispatchException { try { QueryYangModuleInUseRpc instance = new QueryYangModuleInUseRpc(netconfMessage); return instance; } catch (JAXBException ex) { throw new DispatchException(ex); } }
QueryYangModuleInUseRpc extends NetconfRpcMessage { public static QueryYangModuleInUseRpc getInstance(String netconfMessage) throws DispatchException { try { QueryYangModuleInUseRpc instance = new QueryYangModuleInUseRpc(netconfMessage); return instance; } catch (JAXBException ex) { throw new DispatchException(ex); } } }
QueryYangModuleInUseRpc extends NetconfRpcMessage { public static QueryYangModuleInUseRpc getInstance(String netconfMessage) throws DispatchException { try { QueryYangModuleInUseRpc instance = new QueryYangModuleInUseRpc(netconfMessage); return instance; } catch (JAXBException ex) { throw new DispatchException(ex); } } QueryYangModuleInUseRpc(String netconfMessage); }
QueryYangModuleInUseRpc extends NetconfRpcMessage { public static QueryYangModuleInUseRpc getInstance(String netconfMessage) throws DispatchException { try { QueryYangModuleInUseRpc instance = new QueryYangModuleInUseRpc(netconfMessage); return instance; } catch (JAXBException ex) { throw new DispatchException(ex); } } QueryYangModuleInUseRpc(String netconfMessage); static QueryYangModuleInUseRpc getInstance(String netconfMessage); UsedYangModules getUsedYangModules(); }
QueryYangModuleInUseRpc extends NetconfRpcMessage { public static QueryYangModuleInUseRpc getInstance(String netconfMessage) throws DispatchException { try { QueryYangModuleInUseRpc instance = new QueryYangModuleInUseRpc(netconfMessage); return instance; } catch (JAXBException ex) { throw new DispatchException(ex); } } QueryYangModuleInUseRpc(String netconfMessage); static QueryYangModuleInUseRpc getInstance(String netconfMessage); UsedYangModules getUsedYangModules();  }