@Test public void testGetPrefix() throws Exception { NamespaceContext ctx = SimpleNamespaceContext.create(createNamespaceEntries()); assertNull(ctx.getPrefix(null)); assertNull(ctx.getPrefix("http: assertEquals("xsd", ctx.getPrefix("http: }
public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); } }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  static NamespaceContext create(KeyValuePairSet set); static NamespaceContext create(KeyValuePairSet set, AdaptrisMessage msg); }
SimpleNamespaceContext { public static NamespaceContext create(KeyValuePairSet set) { if (set == null || set.size() == 0) { return null; } return new NamespaceContextMap(set); }  static NamespaceContext create(KeyValuePairSet set); static NamespaceContext create(KeyValuePairSet set, AdaptrisMessage msg);  }