/** * Serialize the TypesElements of the WSDL element model. * * * @param types an array of TypesElements. * @param des corresponding DescriptionElement. * @param pw the Writer to write the xml to. */ protected void printTypes(TypesElement types, DescriptionElement des, PrintWriter pw) throws WSDLException { if (types != null) { String tagName = OMUtils.getQualifiedValue(Constants.NS_URI_WSDL20, Constants.ELEM_TYPES, des); pw.print("<" + tagName); printExtensibilityAttributes(types.getExtensionAttributes(),types,pw); pw.println('>'); ExtensionElement[] extElements = types.getExtensionElements(); printExtensibilityElements(types.getClass(), extElements, des,pw); printImportedSchemas(types.getImportedSchemas(), des, pw); printInlinedSchemas(types.getInlinedSchemas(), des, pw); pw.println("</" + tagName + '>'); } }
/** * Serialize the TypesElements of the WSDL element model. * * * @param types an array of TypesElements. * @param des corresponding DescriptionElement. * @param pw the Writer to write the xml to. */ protected void printTypes(TypesElement types, DescriptionElement des, PrintWriter pw) throws WSDLException { if (types != null){ String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL20, Constants.ELEM_TYPES, des); pw.print("<" + tagName); printExtensibilityAttributes(types.getExtensionAttributes(), types, pw); pw.println('>'); ExtensionElement[] extElements = types.getExtensionElements(); printExtensibilityElements(types.getClass(), extElements, des, pw); printImportedSchemas(types.getImportedSchemas(),des,pw); printInlinedSchemas(types.getInlinedSchemas(),des,pw); pw.println("</" + tagName + '>'); } }
/** * Serialize the TypesElements of the WSDL element model. * * * @param types an array of TypesElements. * @param des corresponding DescriptionElement. * @param pw the Writer to write the xml to. */ protected void printTypes(TypesElement types, DescriptionElement des, PrintWriter pw) throws WSDLException { if (types != null){ String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL20, Constants.ELEM_TYPES, des); pw.print("<" + tagName); printExtensibilityAttributes(types.getExtensionAttributes(), types, pw); pw.println('>'); ExtensionElement[] extElements = types.getExtensionElements(); printExtensibilityElements(types.getClass(), extElements, des, pw); printImportedSchemas(types.getImportedSchemas(),des,pw); printInlinedSchemas(types.getInlinedSchemas(),des,pw); pw.println("</" + tagName + '>'); } }
InlinedSchema[] inlinedSchemas = types.getInlinedSchemas(); if(!testAssertionSchema1073(inlinedSchemas, errorReporter)) isValid = false;
InlinedSchema[] inlinedSchemas = types.getInlinedSchemas(); if(!testAssertionSchema1073(inlinedSchemas, errorReporter)) isValid = false;