@Override
 public Map<String, Object> getParameters() throws TransformationException {
   Map<String, Object> map = new HashMap<String, Object>();
   map.put(
       "content-model",
       PropertyReader.getProperty("escidoc.framework_access.content-model.id.publication"));
   map.put(
       "external_organization_id",
       PropertyReader.getProperty("escidoc.pubman.external.organisation.id"));
   return map;
 }
Esempio n. 2
0
  @Override
  public Map<String, Object> getParameters() throws TransformationException {
    Map<String, Object> map = new HashMap<String, Object>();

    if (FORMAT.ESCIDOC_ITEM_V3_XML.equals(getTargetFormat())) {
      map.put("is-item-list", Boolean.FALSE);
    } else if (FORMAT.ESCIDOC_ITEMLIST_V3_XML.equals(getTargetFormat())) {
      map.put("is-item-list", Boolean.TRUE);
    }
    map.put(
        "content-model",
        PropertyReader.getProperty("escidoc.framework_access.content-model.id.publication"));
    map.put(
        "external-organization",
        PropertyReader.getProperty("escidoc.pubman.external.organisation.id"));

    return map;
  }