@Test public void testNoDictionaryProtocol() throws EtiqetException { String protocolPath = "${etiqet.directory}/etiqet-core/src/test/resources/protocols/testNoDictionaryProtocol.xml"; try { ProtocolConfig protocolConfig = new ProtocolConfig(protocolPath); } catch (Exception e) { assertTrue(e instanceof EtiqetException); assertEquals("Unable to load messages configuration: " + protocolPath, e.getMessage()); } }
public Message getMessage(String name) { return messageMap.get(name); }
ProtocolConfig implements Serializable { public Message getMessage(String name) { return messageMap.get(name); } }
ProtocolConfig implements Serializable { public Message getMessage(String name) { return messageMap.get(name); } ProtocolConfig(Protocol protocol);  ProtocolConfig(String path); }
ProtocolConfig implements Serializable { public Message getMessage(String name) { return messageMap.get(name); } ProtocolConfig(Protocol protocol);  ProtocolConfig(String path); String getProtocolName(); Message getMessage(String name); Message[] getMessages(); String getComponentPackage(); String getMsgType(String messageName); String getNameForTag(Integer t); Integer getTagForName(String name); boolean tagContains(Integer tag); String getMsgName(String msgType); boolean isAdmin(String msgName); boolean isHeaderField(String fieldName); boolean isHeaderField(Integer tag); @Override String toString(); List<Delegate> getClientDelegates(); StopEvent getStopEvent(); List<UrlExtension> getClientUrlExtensions(); Client getClient(); Protocol getProtocol(); void setProtocol(Protocol protocol); AbstractDictionary getDictionary(); void setDictionary(AbstractDictionary dictionary); }
ProtocolConfig implements Serializable { public Message getMessage(String name) { return messageMap.get(name); } ProtocolConfig(Protocol protocol);  ProtocolConfig(String path); String getProtocolName(); Message getMessage(String name); Message[] getMessages(); String getComponentPackage(); String getMsgType(String messageName); String getNameForTag(Integer t); Integer getTagForName(String name); boolean tagContains(Integer tag); String getMsgName(String msgType); boolean isAdmin(String msgName); boolean isHeaderField(String fieldName); boolean isHeaderField(Integer tag); @Override String toString(); List<Delegate> getClientDelegates(); StopEvent getStopEvent(); List<UrlExtension> getClientUrlExtensions(); Client getClient(); Protocol getProtocol(); void setProtocol(Protocol protocol); AbstractDictionary getDictionary(); void setDictionary(AbstractDictionary dictionary);  }