public List<S> getSchemas() { return this.types.getSchemas(); }
public void addSchema(S schema) { this.types.addSchema(schema); }
public Documentation createDocumentation() { return this.types.createDocumentation(); }
for (final AbsItfSchema s : (List<AbsItfSchema>) odlDesc.getTypes().getSchemas()) { newSchemas.add(this.schemaConverter.convertSchema(s)); newDesc.getTypes().getSchemas().clear(); newDesc.getTypes().getSchemas().addAll(newSchemas); .getTypes().getImportedSchemas()) { newImportedSchemas.add(this.schemaConverter.convertImport(impt)); newDesc.getTypes().getImportedSchemas().clear(); newDesc.getTypes().getImportedSchemas().addAll(newImportedSchemas); } else { throw new WSDLException("the schema converter is not setted");
public Documentation getDocumentation() { return this.types.getDocumentation(); }
public void setDocumentation(final Documentation arg0) { this.types.setDocumentation(arg0); }
public List<Impt> getImportedSchemas() { return this.types.getImportedSchemas(); }
public Map<QName, String> getOtherAttributes() throws XmlException { return this.types.getOtherAttributes(); }
public List<Element> getOtherElements() throws XmlException { return this.types.getOtherElements(); }
public S createSchema() { return this.types.createSchema(); }
public S removeSchema() { return this.types.removeSchema(); }
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(); } } } }
private Collection<? extends org.ow2.easywsdl.schema.api.Element> findElementsInAllSchema( final AbsItfDescription desc, final QName element) { final List<org.ow2.easywsdl.schema.api.Element> res = new ArrayList<org.ow2.easywsdl.schema.api.Element>(); if(desc.getTypes() != null) { for(final AbsItfSchema schema: (List<AbsItfSchema>)desc.getTypes().getSchemas()) { res.addAll(schema.findElementsInAllSchema(element)); } } for(final org.ow2.easywsdl.wsdl.api.Import impt: (List<org.ow2.easywsdl.wsdl.api.Import>)desc.getImports()) { if(impt.getDescription() != null) { res.addAll(this.findElementsInAllSchema(impt.getDescription(), element)); } } return res; }
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(); } } } }