@Override public final EndpointReferenceType createWsaModelEndpointReferenceType(URI address) { return new EndpointReferenceTypeImpl(address); }
public final EndpointReferenceType createWsaModelEndpointReferenceType( com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType jaxbModelObj) { return new EndpointReferenceTypeImpl(jaxbModelObj); }
/** * Read the specified EndpointReferenceType XML definition from {@link Document} object * into a WS-Addressing JAXB model {@link EndpointReferenceType} instance. * * @param doc * @return the definition described in the document. * * @throws WsaException */ @Override public final EndpointReferenceType readEndpointReferenceType(Document doc) throws WsaException { EndpointReferenceType edpRefObj=null; try { Unmarshaller unmarshaller = this.addressingJaxbContext.createWSAddressingUnmarshaller(); final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType> eprBinding = unmarshaller.unmarshal(doc, com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType.class); edpRefObj = ((eprBinding!=null)? new EndpointReferenceTypeImpl(eprBinding.getValue()):null); } catch (JAXBException e) { throw new WsaException(e); } return edpRefObj; }
saxSource, com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType.class); edpRefObj = ((eprBinding!=null)? new EndpointReferenceTypeImpl(eprBinding.getValue()):null);