@Test public void testInvalidType() { final String urn = "urn:ogc:def:dummy:EPSG:6.8:4326"; try { new URN_Parser(urn); fail(); } catch (NoSuchAuthorityCodeException e) { assertEquals("dummy", e.getAuthorityCode()); } }
public String getAuthorityCode() { return authority + SEPARATOR + code; }
URN_Parser { public String getAuthorityCode() { return authority + SEPARATOR + code; } }
URN_Parser { public String getAuthorityCode() { return authority + SEPARATOR + code; } URN_Parser(final String urn); }
URN_Parser { public String getAuthorityCode() { return authority + SEPARATOR + code; } URN_Parser(final String urn); String getAuthorityCode(); @Override String toString(); }
URN_Parser { public String getAuthorityCode() { return authority + SEPARATOR + code; } URN_Parser(final String urn); String getAuthorityCode(); @Override String toString(); final String urn; final URN_Type type; final String authority; final Version version; final String code; }