Package org.jibx.schema.elements

Examples of org.jibx.schema.elements.CommonTypeDerivation


                    case SchemaBase.GROUP_TYPE:
                        parent.forceElementPresent();
                        break;
                       
                    case SchemaBase.EXTENSION_TYPE:
                        CommonTypeDerivation deriv = (CommonTypeDerivation)comp;
                        if (!deriv.isComplexType()) {
                            parent.forceContentPresent();
                            parent.forceRequiredPresent();
                        }
                        break;
                   
View Full Code Here


            }
           
            case SchemaBase.EXTENSION_TYPE:
            case SchemaBase.RESTRICTION_TYPE:
            {
                CommonTypeDerivation deriv = (CommonTypeDerivation)component;
                QName type = deriv.getBase();
                if (type != null) {
                    QName repl = replaceAndReference(type, vctx);
                    if (repl == null) {
                        delete = true;
                    } else if (repl != type) {
                        deriv.setBase(repl);
                    }
                }
                break;
            }
           
View Full Code Here

TOP

Related Classes of org.jibx.schema.elements.CommonTypeDerivation

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.