/** * * @param e (Element) XXX * @throws WSDDException XXX */ protected WSDDTargetedChain(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } // !!! pivot? use polymorphic method? String pivotStr = e.getAttribute(ATTR_PIVOT); if (pivotStr != null && !pivotStr.equals("")) pivotQName = XMLUtils.getQNameFromString(pivotStr, e); }
/** * * @param e (Element) XXX * @throws WSDDException XXX */ protected WSDDTargetedChain(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } // !!! pivot? use polymorphic method? String pivotStr = e.getAttribute(ATTR_PIVOT); if (pivotStr != null && !pivotStr.equals("")) pivotQName = XMLUtils.getQNameFromString(pivotStr, e); }
/** * * @param e (Element) XXX * @throws WSDDException XXX */ protected WSDDTargetedChain(Element e) throws WSDDException { super(e); Element reqEl = getChildElement(e, ELEM_WSDD_REQFLOW); if (reqEl != null && reqEl.getElementsByTagName("*").getLength()>0) { requestFlow = new WSDDRequestFlow(reqEl); } Element respEl = getChildElement(e, ELEM_WSDD_RESPFLOW); if (respEl != null && respEl.getElementsByTagName("*").getLength()>0) { responseFlow = new WSDDResponseFlow(respEl); } // !!! pivot? use polymorphic method? String pivotStr = e.getAttribute(ATTR_PIVOT); if (pivotStr != null && !pivotStr.equals("")) pivotQName = XMLUtils.getQNameFromString(pivotStr, e); }