/** * Constructor for the <code>ElementMapLabel</code> object. This * creates a label object, which can be used to convert an XML * node to a <code>Map</code> of XML serializable objects. * * @param contact this is the contact that this label represents * @param label the annotation that contains the schema details * @param format this is the format used to style this label */ public ElementMapLabel(Contact contact, ElementMap label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.entry = new Entry(contact, label); this.required = label.required(); this.type = contact.getType(); this.inline = label.inline(); this.override = label.name(); this.data = label.data(); this.format = format; this.label = label; }
/** * Constructor for the <code>ElementMapLabel</code> object. This * creates a label object, which can be used to convert an XML * node to a <code>Map</code> of XML serializable objects. * * @param contact this is the contact that this label represents * @param label the annotation that contains the schema details * @param format this is the format used to style this label */ public ElementMapLabel(Contact contact, ElementMap label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.entry = new Entry(contact, label); this.required = label.required(); this.type = contact.getType(); this.inline = label.inline(); this.override = label.name(); this.data = label.data(); this.format = format; this.label = label; }
/** * Constructor for the <code>ElementMapLabel</code> object. This * creates a label object, which can be used to convert an XML * node to a <code>Map</code> of XML serializable objects. * * @param contact this is the contact that this label represents * @param label the annotation that contains the schema details * @param format this is the format used to style this label */ public ElementMapLabel(Contact contact, ElementMap label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.entry = new Entry(contact, label); this.required = label.required(); this.type = contact.getType(); this.inline = label.inline(); this.override = label.name(); this.data = label.data(); this.format = format; this.label = label; }