198199200201202203204205206207
throw new BadResumptionTokenException("Sample doesn't support resumptionTokens."); } public Set getMetadataFormats(String id) { HashSet<SimpleMetadataFormat> s = new HashSet<SimpleMetadataFormat>(); s.add(new SimpleMetadataFormat(OAI_DC.prefix, OAI_DC2_0.xsdLocation, OAI_DC.uri)); return s; }
136137138139140141142143144145
} buf.append(" </friends>"); m_descriptions.add(buf.toString()); } m_formats = new HashSet<SimpleMetadataFormat>(); m_formats.add(new SimpleMetadataFormat("oai_dc", OAI_DC2_0.xsdLocation, OAI_DC.uri)); m_setInfos = new ArrayList<SimpleSetInfo>(); }