Package org.exolab.castor.xml.schema

Examples of org.exolab.castor.xml.schema.Union


            String err = "'schema' must not be null.";
            throw new IllegalStateException(err);
        }
        _schema = schema;
       
        _union = new Union(_schema);
        _union.setId(atts.getValue(SchemaNames.ID_ATTR));
       
        String memberTypes = atts.getValue(SchemaNames.MEMBER_TYPES_ATTR);
        processMemberTypes(memberTypes);
       
View Full Code Here


        if (common == null) {
            return new XSClass(SGTypes.OBJECT);
        }
       
        XSType convertedType = convertType(common, packageName, useWrapper, useJava50, null);
        Union unionType = (Union) simpleType;
        Enumeration<SimpleType> memberTypes = unionType.getMemberTypes();
        while (memberTypes.hasMoreElements()) {
            SimpleType memberType = memberTypes.nextElement();
            convertedType.setFacets(memberType);
        }
        return convertedType;
View Full Code Here

            String err = "'schema' must not be null.";
            throw new IllegalStateException(err);
        }
        _schema = schema;
       
        _union = new Union(_schema);
        _union.setId(atts.getValue(SchemaNames.ID_ATTR));
       
        String memberTypes = atts.getValue(SchemaNames.MEMBER_TYPES_ATTR);
        processMemberTypes(memberTypes);
       
View Full Code Here

TOP

Related Classes of org.exolab.castor.xml.schema.Union

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.