Examples of BooleanHolder


Examples of javax.xml.rpc.holders.BooleanHolder

        while (iparam.hasNext()) {
            Parameter param = (Parameter) iparam.next();
            if (param.getMode() == Parameter.OUT) {
                // write a constructor for each of the parameters
               
                BooleanHolder bThrow = new BooleanHolder(false);
                String constructorString =
                       Utils.getConstructorForParam(param, symbolTable, bThrow);
                if (bThrow.value) {
                    pw.println("        try {");
                }
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

                    if (v.elementAt(0) instanceof Element) {
                        e = (Element)v.elementAt(0);
                    } else {
                        e = (Element)v.elementAt(1);
                    }
                    BooleanHolder forElement = new BooleanHolder();
                    QName eType = Utils.getTypeQName(e.getNode(), forElement, false);
                    if (eType != null &&
                        eType.equals(e.getQName()) &&
                        !forElement.value)
                        resolve = false;
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

      // The restriction node indicates the type being restricted
      // (the base attribute contains this type).
      // The base type must be a simple type, and not boolean
      TypeEntry baseEType = null;
      if (restrictionNode != null) {
        QName baseType = Utils.getTypeQName(restrictionNode, new BooleanHolder(), false);
        baseEType = symbolTable.getType(baseType);
        if (baseEType != null) {
          String javaName = TypeMap.getBasicTypeClass4qname(baseEType.getQName());
          //String javaName = baseEType.getName();
          if (javaName.equals("boolean") ||
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

        while (ops.hasNext()) {
            Operation op = (Operation) ops.next();
            OperationType type = op.getStyle();
            Parameters params = bEntry.getParameters(op);
            // did we emit a constructor that throws?
            BooleanHolder bThrow = new BooleanHolder(false);

            // These operation types are not supported.  The signature
            // will be a string stating that fact.
            if (type == OperationType.NOTIFICATION
                    || type == OperationType.SOLICIT_RESPONSE) {
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

                    if (v.elementAt(0) instanceof Element) {
                        e = (Element)v.elementAt(0);
                    } else {
                        e = (Element)v.elementAt(1);
                    }
                    BooleanHolder forElement = new BooleanHolder();
                    QName eType = Utils.getTypeQName(e.getNode(), forElement, false);
                    if (eType != null &&
                        eType.equals(e.getQName()) &&
                        !forElement.value)
                        resolve = false;
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

            // The restriction node indicates the type being restricted
            // (the base attribute contains this type).
            // The base type must be a simple type, and not boolean
            TypeEntry baseEType = null;
            if (restrictionNode != null) {
                QName baseType = Utils.getTypeQName(restrictionNode, new BooleanHolder(), false);
                baseEType = symbolTable.getType(baseType);
                if (baseEType != null) {
                    String javaName = baseEType.getName();
                    if (javaName.equals("boolean") ||
                        ! SchemaUtils.isSimpleSchemaType(baseEType.getQName())) {
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

                // and element=.
                createTypeFromDef(node, true, level > SCHEMA_LEVEL);
            }
            else if (isXSD && localPart.equals("attribute")) {
                // Create a type entry for the referenced type
                BooleanHolder forElement = new BooleanHolder();
                QName refQName = Utils.getTypeQName(node, forElement, false);

                if (refQName != null && !forElement.value) {
                    createTypeFromRef(node);
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

                return;
            }

            // If the node has a type or ref attribute, get the
            // qname representing the type
            BooleanHolder forElement = new BooleanHolder();
            QName refQName = Utils.getTypeQName(node, forElement, false);

            if (refQName != null) {
                // Error check - bug 12362
                if (qName.getLocalPart().length() == 0) {
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

     * Node may contain a reference (via type=, ref=, or element= attributes) to
     * another type.  Create a Type object representing this referenced type.
     */
    private void createTypeFromRef(Node node) throws IOException {
        // Get the QName of the node's type attribute value
        BooleanHolder forElement = new BooleanHolder();
        QName qName = Utils.getTypeQName(node, forElement, false);
        if (qName != null) {
            // Error check - bug 12362
            if (qName.getLocalPart().length() == 0) {
                String name = Utils.getAttribute(node, "name");
View Full Code Here

Examples of javax.xml.rpc.holders.BooleanHolder

            //    <element name="bar"...>  <--- This one
            node = getTypeEntry(elementName, true).getNode();

            // Check if this element is of the form:
            //    <element name="foo" type="tns:foo_type"/>
            BooleanHolder forElement = new BooleanHolder();
            QName type = Utils.getTypeQName(node, forElement, false);
            if (type != null && !forElement.value) {
                // If in fact we have such a type, go get the node that
                // corresponds to THAT definition.
                node = getTypeEntry(type, false).getNode();
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.