@Test public void shouldHaveSamePrefixPassedIntoConstructor() { assertThat(ns1.getPrefix(), is(validPrefix1)); assertThat(ns2.getPrefix(), is(validPrefix1)); assertThat(ns3.getPrefix(), is(validPrefix2)); assertThat(ns4.getPrefix(), is(validPrefix2)); assertThat(ns5.getPrefix(), is(validPrefix3)); }
@Override public String getPrefix() { return prefix; }
BasicNamespace implements NamespaceRegistry.Namespace { @Override public String getPrefix() { return prefix; } }
BasicNamespace implements NamespaceRegistry.Namespace { @Override public String getPrefix() { return prefix; } BasicNamespace( String prefix,
                           String namespaceUri ); }
BasicNamespace implements NamespaceRegistry.Namespace { @Override public String getPrefix() { return prefix; } BasicNamespace( String prefix,
                           String namespaceUri ); @Override String getNamespaceUri(); @Override String getPrefix(); @Override int hashCode(); @Override int compareTo( Namespace that ); @Override boolean equals( Object obj ); @Override String toString(); }
BasicNamespace implements NamespaceRegistry.Namespace { @Override public String getPrefix() { return prefix; } BasicNamespace( String prefix,
                           String namespaceUri ); @Override String getNamespaceUri(); @Override String getPrefix(); @Override int hashCode(); @Override int compareTo( Namespace that ); @Override boolean equals( Object obj ); @Override String toString();  }