Package org.jibx.schema.elements

Examples of org.jibx.schema.elements.AttributeGroupElement


     *
     * @param qname name
     * @return definition, or <code>null</code> if not registered
     */
    public AttributeGroupElement findAttributeGroup(QName qname) {
        AttributeGroupElement agrp = (AttributeGroupElement)m_globalAttributeGroupMap.get(qname);
        if (agrp == null && m_importedAttributeGroupMap != null) {
            agrp = (AttributeGroupElement)m_importedAttributeGroupMap.get(qname);
        }
        return agrp;
    }
View Full Code Here


     *
     * @param qname name
     * @param def attribute definition
     */
    public void registerAttributeGroup(QName qname, AttributeGroupElement def) {
        AttributeGroupElement dupl = m_nameRegister.registerAttributeGroup(qname, def);
        if (dupl != null) {
            addError("Duplicate name " + qname, def);
        }
    }
View Full Code Here

                group.setDefinition(buildCompositor(mapping, 0, false, hold));
                addDocumentation(info, group);
                hold.getSchema().getTopLevelChildren().add(group);
            }
            if (detail.hasAttribute()) {
                AttributeGroupElement attgrp = new AttributeGroupElement();
                attgrp.setName(qname.getName());
                fillAttributes(mapping, 0, attgrp.getAttributeList(), hold);
                addDocumentation(info, attgrp);
                hold.getSchema().getTopLevelChildren().add(attgrp);
            }
        }
       
View Full Code Here

TOP

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

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.