public List<B> getBindings() { return this.wsdl.getBindings(); }
protected void convertBindings(final List<AbsItfBinding> bindings, final Class<BImpl> bimpl, final DNew newDesc) throws WSDLException { if (bindings != null) { final List<BNew> binds = new ArrayList<BNew>(); final Iterator<AbsItfBinding> it = bindings.iterator(); AbsItfBinding oldBinding = null; BNew newBinding = null; while (it.hasNext()) { oldBinding = it.next(); newBinding = this.convertBinding(oldBinding, bimpl); binds.add(newBinding); } newDesc.getBindings().clear(); newDesc.getBindings().addAll(binds); } }
protected void addIncludeElementsInAllList() { for (final Incl incl : this.includes) { if (incl.getDescription() != null) { this.services.addAll(incl.getDescription().getServices()); this.bindings.addAll(incl.getDescription().getBindings()); this.interfaces.addAll(incl.getDescription().getInterfaces()); if (this.types != null) { this.types.getSchemas().addAll(incl.getDescription().getTypes().getSchemas()); } else { this.types = (T) incl.getDescription().getTypes(); } } } }
protected void addImportElementsInAllList() { for (final Impt impt : this.imports) { if (impt.getDescription() != null) { this.services.addAll(impt.getDescription().getServices()); this.bindings.addAll(impt.getDescription().getBindings()); this.interfaces.addAll(impt.getDescription().getInterfaces()); if (this.types != null) { if (impt.getDescription().getTypes() != null) { this.types.getSchemas().addAll(impt.getDescription().getTypes().getSchemas()); } } else { this.types = (T) impt.getDescription().getTypes(); } } } }
this.convertBindings(odlDesc.getBindings(), bimpl, newDesc); for (final Object binding : newDesc.getBindings()) { if (binding instanceof AbsItfBinding) { this.convertInternalElmtsInBinding((AbsItfBinding) binding, boimpl, binimpl,