public static String getProperty(String name) { if (name != null) { return PropertiesDAO.getInstance().getAttributeValue(name, true); } return ""; }
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"; }