Exemplo n.º 1
0
  public static String getProperty(String name) {
    if (name != null) {
      return PropertiesDAO.getInstance().getAttributeValue(name, true);
    }

    return "";
  }
Exemplo n.º 2
0
  private String getStyleSheet() {

    if (documentType.equalsIgnoreCase(AssemblyConstants.C32_DOCUMENT)) {
      return PropertiesDAO.getInstance()
          .getAttributeValue(AssemblyConstants.DAS_C32_STYLESHEET, true);
    } else {
      log.error("No stylesheet available for document type \"" + documentType);
    }

    return "CCD.xsl";
  }