public WsaModelFactoryImpl() { this.wsaModelReader = new WsaReaderImpl(); this.wsaModelWriter = new WsaWriterImpl(); }
input = uri.toURL().openStream(); desc = this.readEndpointReferenceType(new InputSource(input));
/** * Read a EndpointReferanceType XML definition from a {@link File} object * into a WS-Addressing JAXB model {@link EndpointReferenceType} instance. (used by persistence feature) * * @param file * the {@link File} object which the * {@link EndpointReferenceType} object must be read from * @return a {@link EndpointReferenceType} Java object instance * * @throws WsaException */ @Override public final EndpointReferenceType readEndpointReferenceType(File file) throws WsaException{ EndpointReferenceType edpRefObj=null; try { Document endpointRefAsDoc = WsstarCommonUtils.convertFromFiletoDocument(file); edpRefObj = this.readEndpointReferenceType(endpointRefAsDoc); } catch (WsstarCommonException e) { throw new WsaException(e); } return edpRefObj; }