@Test public void testSetDefaultDestination() { XpathProduceDestination dest = new XpathProduceDestination(); try { dest.setDefaultDestination(null); fail(); } catch (IllegalArgumentException e) { ; } dest.setDefaultDestination(""); assertEquals("", dest.getDefaultDestination()); dest.setDefaultDestination(DEFAULT_DEST); assertEquals(DEFAULT_DEST, dest.getDefaultDestination()); }
public void setDefaultDestination(String s) { this.defaultDestination = Args.notNull(s, "defaultDestination"); }
XpathProduceDestination implements MessageDrivenDestination { public void setDefaultDestination(String s) { this.defaultDestination = Args.notNull(s, "defaultDestination"); } }
XpathProduceDestination implements MessageDrivenDestination { public void setDefaultDestination(String s) { this.defaultDestination = Args.notNull(s, "defaultDestination"); } XpathProduceDestination();  XpathProduceDestination(String xpath);  XpathProduceDestination(String xpath, String defaultDest); }
XpathProduceDestination implements MessageDrivenDestination { public void setDefaultDestination(String s) { this.defaultDestination = Args.notNull(s, "defaultDestination"); } XpathProduceDestination();  XpathProduceDestination(String xpath);  XpathProduceDestination(String xpath, String defaultDest); @Override boolean equals(Object obj); @Override int hashCode(); @Override String getDestination(AdaptrisMessage msg); String getXpath(); void setXpath(String s); String getDefaultDestination(); void setDefaultDestination(String s); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet kvps); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml); }
XpathProduceDestination implements MessageDrivenDestination { public void setDefaultDestination(String s) { this.defaultDestination = Args.notNull(s, "defaultDestination"); } XpathProduceDestination();  XpathProduceDestination(String xpath);  XpathProduceDestination(String xpath, String defaultDest); @Override boolean equals(Object obj); @Override int hashCode(); @Override String getDestination(AdaptrisMessage msg); String getXpath(); void setXpath(String s); String getDefaultDestination(); void setDefaultDestination(String s); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet kvps); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml);  }