public List<I> getInterfaces() { return this.wsdl.getInterfaces(); }
protected void convertInterfaces(final List<AbsItfInterfaceType> interfaces, final Class<IImpl> iimpl, final DNew newDesc) throws WSDLException { if (interfaces != null) { final List<INew> itfs = new ArrayList<INew>(); final Iterator<AbsItfInterfaceType> it = interfaces.iterator(); AbsItfInterfaceType oldItf = null; INew newItf = null; while (it.hasNext()) { oldItf = it.next(); newItf = this.convertInterface(oldItf, iimpl); itfs.add(newItf); } newDesc.getInterfaces().clear(); newDesc.getInterfaces().addAll(itfs); } }
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.convertInterfaces(odlDesc.getInterfaces(), iimpl, newDesc); for (final Object itf : newDesc.getInterfaces()) { if (itf instanceof AbsItfInterfaceType) { this.convertInternalElmtsInInterface((AbsItfInterfaceType) itf, oimpl, inimpl,