/** * Constructor for the <code>Entry</code> object. This takes the * element map annotation that provides configuration as to how * the map is serialized and deserialized from the XML document. * The entry object provides a convenient means to access the XML * schema configuration using defaults where necessary. * * @param contact this is the point of contact to the map object * @param label the annotation the map method or field uses */ public Entry(Contact contact, ElementMap label) { this.attribute = label.attribute(); this.entry = label.entry(); this.value = label.value(); this.key = label.key(); this.contact = contact; this.label = label; }
/** * Constructor for the <code>Entry</code> object. This takes the * element map annotation that provides configuration as to how * the map is serialized and deserialized from the XML document. * The entry object provides a convenient means to access the XML * schema configuration using defaults where necessary. * * @param contact this is the point of contact to the map object * @param label the annotation the map method or field uses */ public Entry(Contact contact, ElementMap label) { this.attribute = label.attribute(); this.entry = label.entry(); this.value = label.value(); this.key = label.key(); this.contact = contact; this.label = label; }
/** * Constructor for the <code>Entry</code> object. This takes the * element map annotation that provides configuration as to how * the map is serialized and deserialized from the XML document. * The entry object provides a convenient means to access the XML * schema configuration using defaults where necessary. * * @param contact this is the point of contact to the map object * @param label the annotation the map method or field uses */ public Entry(Contact contact, ElementMap label) { this.attribute = label.attribute(); this.entry = label.entry(); this.value = label.value(); this.key = label.key(); this.contact = contact; this.label = label; }