@Test public void testSetNamespaceContext() { XpathObjectMetadataService obj = new XpathObjectMetadataService(); assertNull(obj.getNamespaceContext()); KeyValuePairSet kvps = new KeyValuePairSet(); kvps.add(new KeyValuePair("hello", "world")); obj.setNamespaceContext(kvps); assertEquals(kvps, obj.getNamespaceContext()); obj.setNamespaceContext(null); assertNull(obj.getNamespaceContext()); }
public void setNamespaceContext(KeyValuePairSet namespaceContext) { this.namespaceContext = namespaceContext; }
XpathObjectMetadataService extends ServiceImp { public void setNamespaceContext(KeyValuePairSet namespaceContext) { this.namespaceContext = namespaceContext; } }
XpathObjectMetadataService extends ServiceImp { public void setNamespaceContext(KeyValuePairSet namespaceContext) { this.namespaceContext = namespaceContext; } XpathObjectMetadataService(); }
XpathObjectMetadataService extends ServiceImp { public void setNamespaceContext(KeyValuePairSet namespaceContext) { this.namespaceContext = namespaceContext; } XpathObjectMetadataService(); @Override void doService(AdaptrisMessage msg); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet namespaceContext); List<XpathObjectQuery> getXpathQueries(); void setXpathQueries(List<XpathObjectQuery> xql); void addXpathQuery(XpathQuery query); @Override void prepare(); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml); }
XpathObjectMetadataService extends ServiceImp { public void setNamespaceContext(KeyValuePairSet namespaceContext) { this.namespaceContext = namespaceContext; } XpathObjectMetadataService(); @Override void doService(AdaptrisMessage msg); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet namespaceContext); List<XpathObjectQuery> getXpathQueries(); void setXpathQueries(List<XpathObjectQuery> xql); void addXpathQuery(XpathQuery query); @Override void prepare(); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml);  }