Package org.apache.woden.xml

Examples of org.apache.woden.xml.BooleanAttr


        }
       
        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)) )
        {
            BooleanAttr cookiesUsed = (BooleanAttr) ((WSDLElement)getParent())
                .getExtensionAttribute(HTTPConstants.Q_ATTR_COOKIES);
            return cookiesUsed != null ? cookiesUsed.getBoolean() : new Boolean(false); //defaults to false if omitted
        }
        else
        {
            return null;
        }
View Full Code Here


     * @see org.apache.woden.wsdl20.extensions.ComponentExtensionContext#getProperty(java.lang.String)
     */
    public ExtensionProperty getProperty(String propertyName) {
       
        if(WSDLExtensionConstants.PROP_SAFE.equals(propertyName) ) {
            BooleanAttr safe = (BooleanAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(WSDLExtensionConstants.Q_ATTR_SAFE);
            return newExtensionProperty(WSDLExtensionConstants.PROP_SAFE,
                    safe != null ? safe.getBoolean() : Boolean.FALSE);
        } else {
            return null; //the specified property name does not exist
        }
    }
View Full Code Here

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.extensions.http.HTTPBindingExtensions#isHttpCookies()
     */
    public Boolean isHttpCookies()
    {
        BooleanAttr cookiesUsed = (BooleanAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(HTTPConstants.Q_ATTR_COOKIES);
        return cookiesUsed != null ? cookiesUsed.getBoolean() : new Boolean(false); //defaults to false if omitted
    }
View Full Code Here

   * The actual value of the whttp:ignoreUncited attribute information item,
   * if present. Otherwise, "false".
   */
  public Boolean isHttpLocationIgnoreUncited() {

    BooleanAttr ignoreUncited = (BooleanAttr) ((WSDLElement) getParent())
        .getExtensionAttribute(HTTPConstants.Q_ATTR_IGNORE_UNCITED);
   
    return ignoreUncited != null ? ignoreUncited.getBoolean()
        : new Boolean(false);
  }
View Full Code Here

     * @see org.apache.woden.wsdl20.extensions.ComponentExtensionContext#getProperty(java.lang.String)
     */
    public ExtensionProperty getProperty(String propertyName) {
       
        if(WSDLExtensionConstants.PROP_SAFE.equals(propertyName) ) {
            BooleanAttr safe = (BooleanAttr) ((WSDLElement)getParent())
            .getExtensionAttribute(WSDLExtensionConstants.Q_ATTR_SAFE);
            return newExtensionProperty(WSDLExtensionConstants.PROP_SAFE,
                    safe != null ? safe.getBoolean() : Boolean.FALSE);
        } else {
            return null; //the specified property name does not exist
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.woden.xml.BooleanAttr

Copyright © 2018 www.massapicom. 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.