Package org.fao.oaipmh.responses

Examples of org.fao.oaipmh.responses.MetadataFormat


  //---
  //---------------------------------------------------------------------------

  private MetadataFormat getSchemaInfo(ServiceContext context, SchemaManager sm, String name) throws IOException, JDOMException
  {
    MetadataFormat mf = new MetadataFormat();
    mf.prefix    = name;
    mf.schema = "";
    mf.namespace = Namespace.NO_NAMESPACE;

    Attribute schemaLoc = sm.getSchemaLocation(name, context);
View Full Code Here


    @SuppressWarnings("unchecked")
        List<Element> defaultSchemas = elem.getChildren();

    List <MetadataFormat> defMdfs = new ArrayList<MetadataFormat>();
    for (Element schema : defaultSchemas) {
      defMdfs.add(new MetadataFormat(schema.getAttributeValue("prefix"), schema.getAttributeValue("schemaLocation"), schema.getAttributeValue("nsUrl")));
    }
    return defMdfs;
  }
View Full Code Here

TOP

Related Classes of org.fao.oaipmh.responses.MetadataFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.