((DefaultMBTAxisNode)((MBTNode)rowTreeNode.getUserObject())).setNonEmpty(axisEmpty.isRowEmpty());
// Getting MBTNode Objects array associated with MDX Builder Tree.
MBTNode[] children = (MBTNode[])((MBTNode)(r)).getMdxBuilderTreeNodes();
// Getting Dimension list element and Tree Root.
TreeElement dimTreeRoot=(TreeElement)((DimensionTreeModel)((dimTree.getTree()).getModel())).getRoot();
int noOfDimension=dimTreeRoot.getChildCount();
TreeElement [] dimTreeRootChild=new TreeElement[noOfDimension];
for(int childCount=0;childCount<noOfDimension;childCount++)
{
dimTreeRootChild[childCount]=dimTreeRoot.getChildAt(childCount);
}
// Contains JPivot parser to parse WITH and SLICER portion of MDX Query.
SegregateMDXWithNWhere withNWhere=new SegregateMDXWithNWhere(removeComments(textArea.getText()));