setStructure(RequestOutputPlotStructureEnum::ONE_FILE); //force page construction $this->getPage(); } public function setStructure($type) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPLOT_STRUCTURE, true); $node->setValue($type); } public function getStructure() { $node = $this->getChildInstanceByName(REQUESTOUTPUTPLOT_STRUCTURE); return (($node == NULL) ? RequestOutputPlotStructureEnum::ONE_FILE : $node->getValue()); } public function getPage() { $node = $this->getChildInstanceByName(REQUESTOUTPUTPLOTPAGE_NAME); if (!isset($node)) { $node = new RequestOutputPlotPageNodeClass(); $this->addChild($node); } return $node; } public function addPostProcessing($process) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPOSTPROCESSING_NAME); if ($node == NULL) { $node = new RequestOutputPostProcessingNodeClass(); $this->addChild($node); } $node->addPostProcessing($process); } public function isPostProcessing($process) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPOSTPROCESSING_NAME); if ($node == NULL) return false; return $node->isPostProcessing($process); } } ?>