Examples of closeStartEmpty()


Examples of org.jibx.runtime.impl.MarshallingContext.closeStartEmpty()

           
            // add attribute reference to object ID
            ctx.attribute(0, getAttributeName(), getIdValue(obj));
           
            // close start tag for empty element
            ctx.closeStartEmpty();
        }
    }

    /* (non-Javadoc)
     * @see org.jibx.runtime.IUnmarshaller#isPresent(org.jibx.runtime.IUnmarshallingContext)
View Full Code Here

Examples of org.jibx.runtime.impl.MarshallingContext.closeStartEmpty()

            } else if (value.equals(obj)) {
               
                // generate reference to previously-defined item
                ctx.startTagAttributes(m_index, m_name);
                ctx.attribute(0, getAttributeName(), id);
                ctx.closeStartEmpty();
               
            } else {
                throw new JiBXException("Duplicate definition for ID " + id);
            }
        }
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.