/** * Constructor for the <code>VersionLabel</code> object. This is * used to create a label that can convert from a double to an * XML attribute and vice versa. This requires the annotation and * contact extracted from the XML schema class. * * @param contact this is the field from the XML schema class * @param label represents the annotation for the field * @param format this is the format used to style the paths */ public VersionLabel(Contact contact, Version label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.name = label.name(); this.format = format; this.label = label; }
/** * Constructor for the <code>VersionLabel</code> object. This is * used to create a label that can convert from a double to an * XML attribute and vice versa. This requires the annotation and * contact extracted from the XML schema class. * * @param contact this is the field from the XML schema class * @param label represents the annotation for the field * @param format this is the format used to style the paths */ public VersionLabel(Contact contact, Version label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.name = label.name(); this.format = format; this.label = label; }
/** * Constructor for the <code>VersionLabel</code> object. This is * used to create a label that can convert from a double to an * XML attribute and vice versa. This requires the annotation and * contact extracted from the XML schema class. * * @param contact this is the field from the XML schema class * @param label represents the annotation for the field * @param format this is the format used to style the paths */ public VersionLabel(Contact contact, Version label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.name = label.name(); this.format = format; this.label = label; }