/** * This returns the name of the parameter as taken from the XML * annotation. The name provided here is taken by the label * and used to compose a name consistent with how fields and * methods are named by the system. * * @return this returns the name of the annotated parameter */ public String getName() { return label.name(); } }
/** * This returns the name of the parameter as taken from the XML * annotation. The name provided here is taken by the label * and used to compose a name consistent with how fields and * methods are named by the system. * * @return this returns the name of the annotated parameter */ public String getName() { return label.name(); } }
/** * This returns the name of the parameter as taken from the XML * annotation. The name provided here is taken by the label * and used to compose a name consistent with how fields and * methods are named by the system. * * @return this returns the name of the annotated parameter */ public String getName() { return label.name(); } }
/** * Constructor for the <code>AttributeLabel</code> object. This * is used to create a label that can convert from an object 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 path */ public AttributeLabel(Contact contact, Attribute label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.name = label.name(); this.format = format; this.label = label; }
/** * Constructor for the <code>AttributeLabel</code> object. This * is used to create a label that can convert from an object 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 path */ public AttributeLabel(Contact contact, Attribute label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.name = label.name(); this.format = format; this.label = label; }
/** * Constructor for the <code>AttributeLabel</code> object. This * is used to create a label that can convert from an object 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 path */ public AttributeLabel(Contact contact, Attribute label, Format format) { this.detail = new Introspector(contact, this, format); this.decorator = new Qualifier(contact); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.name = label.name(); this.format = format; this.label = label; }