private void writeFlowPair(FlowPair pair,Document document,Element parentElement){
  Element flowPair=document.createElement("flowpair");
  parentElement.appendChild(flowPair);
  writeDomainSpec(pair.getFirstDomain(),document,flowPair);
  writeDomainSpec(pair.getSecondDomain(),document,flowPair);
}

private void writeFlowPair ( FlowPair pair , Document document , Element parentElement ) { Element flowPair = document . createElement ( "flowpair" ) ; parentElement . appendChild ( flowPair ) ; writeDomainSpec ( pair . getFirstDomain ( ) , document , flowPair ) ; writeDomainSpec ( pair . getSecondDomain ( ) , document , flowPair ) ; }
writes out a flow pair object for the use inside the flow policy
