public void marshal(Object obj, IMarshallingContext ictx)
throws JiBXException {
MarshallingContext ctx = (MarshallingContext)ictx;
Name name = (Name)obj;
ctx.startTag(m_index, m_name);
ctx.element(m_index, "first-name", name.firstName);
ctx.element(m_index, "last-name", name.lastName);
ctx.endTag(m_index, m_name);
}
/* (non-Javadoc)