Element crossReportEl = root.getChild(CrossReport.TAGNAME);
if(crossReportEl != null) {
crossReport = new CrossReport(crossReportEl, localContext);
}
MathExpressionConditions thisCrossCriteria = null;
Element criteriaRoot = root.getChild(CROSS_CRITERIA);
if(criteriaRoot != null) {
Element criteriaEl = criteriaRoot.getChild(MathExpressionConditions.TAG);
if(criteriaEl != null) {
thisCrossCriteria = new MathExpressionConditions(criteriaEl, localContext);
}
}
if(thisCrossCriteria == null) {
crossCriteria = new MathExpressionConditions(localContext);
} else {
crossCriteria = thisCrossCriteria;
}
titleExpression = loadTitleExpression(root, localContext);