@Test public void testSetNamespaceContext() { XmlRuleValidator obj = new XmlRuleValidator(); 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 set) { namespaceContext = set; }
XmlRuleValidator extends MessageValidatorImpl { public void setNamespaceContext(KeyValuePairSet set) { namespaceContext = set; } }
XmlRuleValidator extends MessageValidatorImpl { public void setNamespaceContext(KeyValuePairSet set) { namespaceContext = set; } XmlRuleValidator();  XmlRuleValidator(ValidationStage... stages); }
XmlRuleValidator extends MessageValidatorImpl { public void setNamespaceContext(KeyValuePairSet set) { namespaceContext = set; } XmlRuleValidator();  XmlRuleValidator(ValidationStage... stages); @Override void validate(AdaptrisMessage msg); void addValidationStage(ValidationStage vs); List<ValidationStage> getValidationStages(); void setValidationStages(List<ValidationStage> l); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet set); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml); }
XmlRuleValidator extends MessageValidatorImpl { public void setNamespaceContext(KeyValuePairSet set) { namespaceContext = set; } XmlRuleValidator();  XmlRuleValidator(ValidationStage... stages); @Override void validate(AdaptrisMessage msg); void addValidationStage(ValidationStage vs); List<ValidationStage> getValidationStages(); void setValidationStages(List<ValidationStage> l); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet set); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml);  }