XMLCatalogImpl extends CatalogImpl implements XMLCatalog { CatalogEntry mkCatalogEntry(EName name, String value, Map<EName, String> attributes) { return new CatalogEntry(name, value, attributes); } protected  XMLCatalogImpl(); @Override Node toManifest(Document document, MediaPackageSerializer serializer); @Override void includeEmpty(boolean includeEmpty); @Override void toXml(OutputStream out, boolean format); @Override String toXmlString(); static final EName XML_LANG_ATTR; static final String XSI_NS_PREFIX; static final EName XSI_TYPE_ATTR; }
@Test public void testEqualityOfCatalogEntries() throws Exception { final Map<EName, String> a1 = map( tuple(EName.mk("http: tuple(EName.mk("http: tuple(EName.mk("http: final Map<EName, String> a2 = map( tuple(EName.mk("http: tuple(EName.mk("http: tuple(EName.mk("http: final CatalogEntry c1 = new TestImpl().mkCatalogEntry(EName.mk("http: final CatalogEntry c2 = new TestImpl().mkCatalogEntry(EName.mk("http: assertEquals(c1, c2); final CatalogEntry c3 = new TestImpl().mkCatalogEntry(EName.mk("http: assertNotEquals(c1, c3); }