/** * Constructor for the <code>TextListLabel</code> object. This is * used to create a label used for reading free text declared * between the elements of an element list union. Such a label * enables serialization and deserialization of unstructured XML. * * @param label this is the label that is declared with this * @param text this is the text annotation delcaration */ public TextListLabel(Label label, Text text) { this.empty = text.empty(); this.label = label; this.text = text; }
/** * Constructor for the <code>TextListLabel</code> object. This is * used to create a label used for reading free text declared * between the elements of an element list union. Such a label * enables serialization and deserialization of unstructured XML. * * @param label this is the label that is declared with this * @param text this is the text annotation delcaration */ public TextListLabel(Label label, Text text) { this.empty = text.empty(); this.label = label; this.text = text; }
/** * Constructor for the <code>TextListLabel</code> object. This is * used to create a label used for reading free text declared * between the elements of an element list union. Such a label * enables serialization and deserialization of unstructured XML. * * @param label this is the label that is declared with this * @param text this is the text annotation delcaration */ public TextListLabel(Label label, Text text) { this.empty = text.empty(); this.label = label; this.text = text; }
/** * Constructor for the <code>TextLabel</code> object. This is * used to create a label that can convert a XML node into a * primitive value from an XML element text value. * * @param contact this is the contact this label represents * @param label this is the annotation for the contact * @param format this is the format used for this label */ public TextLabel(Contact contact, Text label, Format format) { this.detail = new Introspector(contact, this, format); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.data = label.data(); this.contact = contact; this.label = label; }
/** * Constructor for the <code>TextLabel</code> object. This is * used to create a label that can convert a XML node into a * primitive value from an XML element text value. * * @param contact this is the contact this label represents * @param label this is the annotation for the contact * @param format this is the format used for this label */ public TextLabel(Contact contact, Text label, Format format) { this.detail = new Introspector(contact, this, format); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.data = label.data(); this.contact = contact; this.label = label; }
/** * Constructor for the <code>TextLabel</code> object. This is * used to create a label that can convert a XML node into a * primitive value from an XML element text value. * * @param contact this is the contact this label represents * @param label this is the annotation for the contact * @param format this is the format used for this label */ public TextLabel(Contact contact, Text label, Format format) { this.detail = new Introspector(contact, this, format); this.required = label.required(); this.type = contact.getType(); this.empty = label.empty(); this.data = label.data(); this.contact = contact; this.label = label; }