Package nexj.core.meta.integration

Examples of nexj.core.meta.integration.CompositeMessagePart.copyAttributesFrom()


            if (((Integer)XSDMessageImporter.this.getMessageRegistry().m_msgRefCountMap.get(MessageRegistry.toKey(m_typeDef))).intValue() == 1)
            {
               if (m_partRef.getParent() != null && !m_partRef.isRefPartAncestor())  //when parent is null, we have several elements deriving off the same complex type
               {
                  CompositeMessagePart part = m_partRef.getRefPart();
                  part.copyAttributesFrom(m_partRef);
                  XSDMessageImporter.this.setMapping(part, null, m_sNodeName, m_sNamespace, m_bNillable, m_typeDef);
                  m_partRef.getParent().replacePart(m_partRef, part);
                  XSDMessageImporter.this.m_msgList.remove(msg);
               }
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.