Package de.netallied.xsd2cppsax.statemachine

Examples of de.netallied.xsd2cppsax.statemachine.StateMachineRootNode


     */
    protected void printComplexValidationForSingleParent(PrintStream stream, String cppName,
            XSElementDeclaration element, XSComplexTypeDefinition parentType) {

        String tmpl = null;
        StateMachineRootNode sm = stateMachineMap.get(parentType);

        boolean isChildOfUnreferencedTopLevelElement = false;
        XSElementDeclaration parentElement = null;

        ElementUsage elementUsage = completeElementUsage.get(element.getName());
View Full Code Here


                validationBlockOpened = true;
            }
            String structName = xsType2validationDataStructName.get(element.getTypeDefinition());
            printComplexValidationDataStructCreation(stream, cppName, structName, complexType, element);

            StateMachineRootNode sm = stateMachineMap.get(complexType);
            if (sm != null) {
                stream.print(TemplateEngine.fillInTemplate(TemplateEngine.fillInComplexValidationTemplate(config
                        .getTemplateComplexValidationInitStateMachine(), cppName, structName, complexType, element, sm,
                        this), cppName, null, null, null, null, null, this));
            }
View Full Code Here

            printComplexValidationBlockOpen(stream);

            String valiDataStrucName = xsType2validationDataStructName.get(typeDefinition);

            String tmpl = null;
            StateMachineRootNode sm = stateMachineMap.get(complexType);
            if (sm == null) {
                tmpl = config.getTemplateComplexValidationParentValidateEnd();
            } else {
                tmpl = config.getTemplateComplexValidationParentValidateEndNestedModelGroups();
            }
View Full Code Here

TOP

Related Classes of de.netallied.xsd2cppsax.statemachine.StateMachineRootNode

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.