Examples of StringAttr


Examples of org.apache.woden.xml.StringAttr

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.extensions.soap.SOAPBindingExtensions#getSoapVersion()
     */
    public String getSoapVersion()
    {
        StringAttr version = (StringAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_VERSION);
        return version != null ? version.getString() : "1.2";
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

        }
       
        if( ("1.2".equals(getSoapVersion()) && protocol.toString().equals(SOAPConstants.PROTOCOL_STRING_SOAP12_HTTP)) ||
            ("1.1".equals(getSoapVersion()) && protocol.toString().equals(SOAPConstants.PROTOCOL_STRING_SOAP11_HTTP)) )
        {
            StringAttr qpsDef = (StringAttr) ((WSDLElement)getParent())
                .getExtensionAttribute(HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT);
            return qpsDef != null ? qpsDef.getString() : HTTPConstants.QUERY_SEP_AMPERSAND;
        }
        else
        {
            return null;
        }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

        }
       
        if( ("1.2".equals(getSoapVersion()) && protocol.toString().equals(SOAPConstants.PROTOCOL_STRING_SOAP12_HTTP)) ||
            ("1.1".equals(getSoapVersion()) && protocol.toString().equals(SOAPConstants.PROTOCOL_STRING_SOAP11_HTTP)) )
        {
            StringAttr ceDef = (StringAttr) ((WSDLElement)getParent())
                .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT);
            return ceDef != null ? ceDef.getString() : null;
        }
        else
        {
            return null;
        }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

   *
   * @see org.apache.woden.wsdl20.extensions.http.HTTPEndpointExtensions#getHttpAuthenticationRealm()
   */
  public String getHttpAuthenticationRealm() {

    StringAttr realm = (StringAttr) ((WSDLElement) getParent())
        .getExtensionAttribute(HTTPConstants.Q_ATTR_AUTHENTICATION_REALM);

    return realm != null ? realm.getString() : null;
  }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

     *
     */
    public String getHttpContentEncoding()
    {
        String ce = null;
        StringAttr contEncoding = (StringAttr) ((WSDLElement) getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING);
        if(contEncoding != null) {
            ce = contEncoding.getString();
        }
        return ce;
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpMethodDefault()
     */
    public String getHttpMethodDefault()
    {
        StringAttr methodDef = (StringAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_METHOD_DEFAULT);
        return methodDef != null ? methodDef.getString() : null;
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpQueryParameterSeparatorDefault()
     */
    public String getHttpQueryParameterSeparatorDefault()
    {
        //TODO monitor ws-desc proposal 19May06 on changing handling of defaults in spec Part 2
        StringAttr qpsDef = (StringAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_QUERY_PARAMETER_SEPARATOR_DEFAULT);
        return qpsDef != null ? qpsDef.getString() : HTTPConstants.QUERY_SEP_AMPERSAND;
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#getHttpContentEncodingDefault()
     */
    public String getHttpContentEncodingDefault()
    {
        StringAttr ceDef = (StringAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT);
        return ceDef != null ? ceDef.getString() : null;
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingMessageReferenceExtensions#getHttpContentEncoding()
     *
     */
    public String getHttpContentEncoding()
    {
        StringAttr contentEncoding = (StringAttr) ((WSDLElement) getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING);
       
        return (contentEncoding != null ? contentEncoding.getString() : null);
    }
View Full Code Here

Examples of org.apache.woden.xml.StringAttr

        }
       
        if( (SOAPConstants.VERSION_1_2.equals(version) && protocol.equals(SOAPConstants.PROTOCOL_URI_SOAP12_HTTP)) ||
            (SOAPConstants.VERSION_1_1.equals(version) && protocol.equals(SOAPConstants.PROTOCOL_URI_SOAP11_HTTP)) )
        {
            StringAttr httpLoc = (StringAttr) ((WSDLElement)getParent())
                .getExtensionAttribute(HTTPConstants.Q_ATTR_LOCATION);
            return httpLoc != null ? new HTTPLocation(httpLoc.getString()) : null;
        }
        else
        {
            return null;
        }
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.