@Test public void testGetKeyFromMessage() throws Exception { XpathCacheValueTranslator translator = createTranslator(); AdaptrisMessage message = createMessage(); assertEquals("abc", translator.getKeyFromMessage(message)); }
@Override public String getKeyFromMessage(AdaptrisMessage msg) throws CoreException { return getValueFromMessage(msg); }
XpathCacheValueTranslator implements CacheValueTranslator<String>, CacheKeyTranslator { @Override public String getKeyFromMessage(AdaptrisMessage msg) throws CoreException { return getValueFromMessage(msg); } }
XpathCacheValueTranslator implements CacheValueTranslator<String>, CacheKeyTranslator { @Override public String getKeyFromMessage(AdaptrisMessage msg) throws CoreException { return getValueFromMessage(msg); } XpathCacheValueTranslator();  XpathCacheValueTranslator(String xpath); }
XpathCacheValueTranslator implements CacheValueTranslator<String>, CacheKeyTranslator { @Override public String getKeyFromMessage(AdaptrisMessage msg) throws CoreException { return getValueFromMessage(msg); } XpathCacheValueTranslator();  XpathCacheValueTranslator(String xpath); @Override String getValueFromMessage(AdaptrisMessage msg); void setXpath(String s); String getXpath(); void setNamespaceContext(KeyValuePairSet namespaceContext); KeyValuePairSet getNamespaceContext(); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml); @Override String getKeyFromMessage(AdaptrisMessage msg); }
XpathCacheValueTranslator implements CacheValueTranslator<String>, CacheKeyTranslator { @Override public String getKeyFromMessage(AdaptrisMessage msg) throws CoreException { return getValueFromMessage(msg); } XpathCacheValueTranslator();  XpathCacheValueTranslator(String xpath); @Override String getValueFromMessage(AdaptrisMessage msg); void setXpath(String s); String getXpath(); void setNamespaceContext(KeyValuePairSet namespaceContext); KeyValuePairSet getNamespaceContext(); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml); @Override String getKeyFromMessage(AdaptrisMessage msg);  }