Examples of updateElement()


Examples of org.eclipse.xsd.XSDElementDeclaration.updateElement()

        aParticle.setContent(element);
       
        ((XSDModelGroup)((XSDParticle)complexType.getContent()).getContent()).
        getContents().add(aParticle);
       
        element.updateElement();

        if ( aProperty.isMany() )
        {
            aParticle.setMaxOccurs(-1);
            aParticle.setMinOccurs(0);
View Full Code Here

Examples of org.eclipse.xsd.XSDElementDeclaration.updateElement()

          elem.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
        }
        if (fieldElementDeclMap.get(e) != null){
          XSDElementDeclaration elem = fieldElementDeclMap.get(e);
          elem.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
        }
        if (fieldVariableMap.get(e) != null){
          Variable variable = fieldVariableMap.get(e);
          variable.updateElement();
View Full Code Here

Examples of org.eclipse.xsd.XSDElementDeclaration.updateElement()

          part.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,part.getElement()));
        }
        if (wsdlDocLitWrapResultMap.get(e) != null){
          XSDElementDeclaration elem = wsdlDocLitWrapResultMap.get(e);
          elem.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
        }
        if (wsdlRpcLitParamMap.get(e) != null){
          Part part = wsdlRpcLitParamMap.get(e);
          part.updateElement();
View Full Code Here

Examples of org.eclipse.xsd.XSDElementDeclaration.updateElement()

          fireAddMappingEvent(new JbprocessElementMapping(e,part.getElement()));
        }
        if (wsdlDocLitParamElemMap.get(e) != null){
          List<XSDElementDeclaration> elems = wsdlDocLitParamElemMap.get(e);
          for (XSDElementDeclaration elem : elems){
            elem.updateElement();
            fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
          }
        }
        if (nodeDataStack.peek().activity != null){
          fireAddMappingEvent(new JbprocessElementMapping(e,nodeDataStack.peek().activity.getElement()));
View Full Code Here

Examples of org.eclipse.xsd.XSDElementDeclaration.updateElement()

          portType.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,portType.getDocumentationElement()));
        }
        if (methodElementDeclMap.get(e) != null){
          XSDElementDeclaration elem = methodElementDeclMap.get(e);
          elem.updateElement();
          fireAddMappingEvent(new JbprocessElementMapping(e,elem.getElement()));
        }
        if (fieldElementDeclMap.get(e) != null){
          XSDElementDeclaration elem = fieldElementDeclMap.get(e);
          elem.updateElement();
View Full Code Here

Examples of org.eclipse.xsd.XSDSchema.updateElement()

             {
                 xmlSchema = (XSDSchema)iterator.next();

                 if(xmlSchema.getElement() == null)
                 {
                     xmlSchema.updateElement();
                 }

                 transformer.transform(new DOMSource(xmlSchema.getElement().getOwnerDocument()),
                         new StreamResult(writer));
             }
View Full Code Here

Examples of org.eclipse.xsd.XSDSchema.updateElement()

        //create the schema
        DescribeFeatureTypeType req = (DescribeFeatureTypeType)describeFeatureType.getParameters()[0];
        XSDSchema schema = schemaBuilder.build(featureTypeInfos, req.getBaseUrl());

        //serialize
        schema.updateElement();
        final String encoding = global.getCharset();
        XSDResourceImpl.serialize(output, schema.getElement(), encoding);
    }
   
    public static class V11 extends XmlSchemaEncoder {
View Full Code Here

Examples of org.eclipse.xsd.XSDSchema.updateElement()

        }

        XSDSchema schema = builder.build(results.getFeatureTypeInfo(), req.getBaseUrl());

        // serialize
        schema.updateElement();
        XSDResourceImpl.serialize(output, schema.getElement());
    }

    public boolean canHandle(Operation operation) {
        return "DescribeVersionedFeatureType".equalsIgnoreCase(operation
View Full Code Here

Examples of org.eclipse.xsd.XSDSchema.updateElement()

                while (iterator.hasNext()) {
                    xmlSchema = (XSDSchema)iterator.next();

                    if (xmlSchema.getElement() == null) {
                        xmlSchema.updateElement();
                    }

                    transformer.transform(new DOMSource(xmlSchema.getElement().getOwnerDocument()),
                                          new StreamResult(writer));
                }
View Full Code Here

Examples of org.eclipse.xsd.XSDSchema.updateElement()

             {
                 xmlSchema = (XSDSchema)iterator.next();

                 if(xmlSchema.getElement() == null)
                 {
                     xmlSchema.updateElement();
                 }

                 transformer.transform(new DOMSource(xmlSchema.getElement().getOwnerDocument()),
                         new StreamResult(writer));
             }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.