Examples of OMAttributeImpl


Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

        payload.addChild((OMNode) endTimeElement);
    }

    private void addId(OMElement payload, URI id) {
        OMFactory factory = null;
        OMAttributeImpl attribute = null;
        factory = OMAbstractFactory.getOMFactory();
        attribute = new OMAttributeImpl("id", null, id.toString(), factory);
        payload.addAttribute(attribute);
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

        payload.addAttribute(attribute);
    }

    private void addDelivery(OMElement payload, Delivery delivery) throws AxisFault {
        OMFactory factory = null;
        OMAttributeImpl attribute = null;
        OMElement deliveryElement = null;
        factory = OMAbstractFactory.getOMFactory();
        attribute = new OMAttributeImpl("mode", null, delivery.getDeliveryMode(), factory);
        deliveryElement = factory.createOMElement(new QName("Delivery"));
        deliveryElement.addAttribute(attribute);
        addEndToEpr(deliveryElement, delivery.getDeliveryEPR());
        payload.addChild((OMNode) deliveryElement);
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

        OMAttribute omAttribute = this.getAttribute(
                new QName(soapEnvelopeNamespaceURI, attributeName));
        if (omAttribute != null) {
            omAttribute.setAttributeValue(attrValue);
        } else {
            OMAttribute attribute = new OMAttributeImpl(attributeName,
                                                        new OMNamespaceImpl(
                                                                soapEnvelopeNamespaceURI,
                                                                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX),
                                                        attrValue, this.factory);
            this.addAttribute(attribute);
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

     * @return Returns OMAttribute.
     */
    public OMAttribute createOMAttribute(String localName,
                                         OMNamespace ns,
                                         String value) {
        return new OMAttributeImpl(localName, ns, value, this);
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl


    public void setLang(String lang) {
        //langAttr = new OMAttributeImpl(SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME, parent.getNamespace(), lang);
        langAttr =
                new OMAttributeImpl(
                        SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME,
                        langNamespace,
                        lang,
                        this.factory);
        this.addAttribute(langAttr);
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

     * @return Returns OMAttribute.
     */
    public OMAttribute createOMAttribute(String localName,
                                         OMNamespace ns,
                                         String value) {
        return new OMAttributeImpl(localName, ns, value, this);
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

        OMAttribute omAttribute = this.getAttribute(
                new QName(soapEnvelopeNamespaceURI, attributeName));
        if (omAttribute != null) {
            omAttribute.setAttributeValue(attrValue);
        } else {
            OMAttribute attribute = new OMAttributeImpl(attributeName,
                                                        new OMNamespaceImpl(
                                                                soapEnvelopeNamespaceURI,
                                                                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX),
                                                        attrValue, this.factory);
            this.addAttribute(attribute);
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

        OMAttribute omAttribute = this.getAttribute(
                new QName(soapEnvelopeNamespaceURI, attributeName));
        if (omAttribute != null) {
            omAttribute.setAttributeValue(attrValue);
        } else {
            OMAttribute attribute = new OMAttributeImpl(attributeName,
                                                        new OMNamespaceImpl(
                                                                soapEnvelopeNamespaceURI,
                                                                SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX),
                                                        attrValue, this.factory);
            this.addAttribute(attribute);
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl

     * @return Returns OMAttribute.
     */
    public OMAttribute createOMAttribute(String localName,
                                         OMNamespace ns,
                                         String value) {
        return new OMAttributeImpl(localName, ns, value, this);
    }
View Full Code Here

Examples of org.apache.axiom.om.impl.llom.OMAttributeImpl


    public void setLang(String lang) {
        //langAttr = new OMAttributeImpl(SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME, parent.getNamespace(), lang);
        langAttr =
                new OMAttributeImpl(
                        SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME,
                        langNamespace,
                        lang,
                        this.factory);
        this.addAttribute(langAttr);
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.