Examples of endTag()


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

                    }
                }
       
                // finish with end tag for container element
                if (m_name != null) {
                    ctx.endTag(m_index, m_name);
                }
               
            }
        }
    }
View Full Code Here

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

                        entry.getKey().toString());
                }
                ctx.closeStartContent();
                if (entry.getValue() instanceof IMarshallable) {
                    ((IMarshallable)entry.getValue()).marshal(ctx);
                    ctx.endTag(m_index, ENTRY_ELEMENT_NAME);
                } else {
                    throw new JiBXException("Mapped value is not marshallable");
                }
            }
           
View Full Code Here

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

                    throw new JiBXException("Mapped value is not marshallable");
                }
            }
           
            // finish with end tag for container element
            ctx.endTag(m_index, m_name);
        }
    }

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

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

                ctx.attribute(m_index, getKeyAttributeName(),
                    entry.getKey().toString());
                ctx.closeStartContent();
                if (entry.getValue() instanceof IMarshallable) {
                    ((IMarshallable)entry.getValue()).marshal(ctx);
                    ctx.endTag(m_index, getEntryElementName());
                } else {
                    throw new JiBXException("Mapped value is not marshallable");
                }
            }
           
View Full Code Here

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

                    throw new JiBXException("Mapped value is not marshallable");
                }
            }
           
            // finish with end tag for container element
            ctx.endTag(m_index, m_name);
        }
    }

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

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

        MarshallingContext ctx = (MarshallingContext)ictx;
        Name name = (Name)obj;
        ctx.startTag(0, "name");
        ctx.element(0, "first-name", name.firstName);
        ctx.element(0, "last-name", name.lastName);
        ctx.endTag(0, "name");
    }
}
View Full Code Here

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

        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)
     * @see org.jibx.runtime.IUnmarshaller#isPresent(org.jibx.runtime.IUnmarshallingContext)
     */
 
View Full Code Here

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

                }
            }
       
            // finish with end tag for container element
            if (m_name != null) {
                ctx.endTag(m_index, m_name);
            }
               
        }
    }
View Full Code Here

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

      OverlapBehaviorInfo overlapBehaviorInfo = (OverlapBehaviorInfo) obj;
      // start by generating start tag for container
      MarshallingContext ctx = (MarshallingContext) ictx;
      ctx.startTag(index, name).content(overlapBehaviorInfo.getOverlapBehavior().xmlValue())
          .closeStartContent();
      ctx.endTag(index, name);
    }
  }

  /*
   * (non-Javadoc)
 
View Full Code Here

Examples of org.xmlpull.mxp1_serializer.MXSerializer.endTag()

                  changeMapping.put(eachShow.getOldVersion(),
                      showID);
                }
              }
            }
            ser.endTag(NS, "show");
          }
          ser.endTag(NS, "day");
        }

        ser.endTag(NS, "stage");
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.