package org.hl7.v3; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlElementRefs; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlIDREF; import javax.xml.bind.annotation.XmlMixed; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for StrucDoc.Th complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="StrucDoc.Th"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="content" type="{urn:hl7-org:v3}StrucDoc.Content"/> * <element name="linkHtml" type="{urn:hl7-org:v3}StrucDoc.LinkHtml"/> * <element name="sub" type="{urn:hl7-org:v3}StrucDoc.Sub"/> * <element name="sup" type="{urn:hl7-org:v3}StrucDoc.Sup"/> * <element name="br" type="{urn:hl7-org:v3}StrucDoc.Br"/> * <element name="footnote" type="{urn:hl7-org:v3}StrucDoc.Footnote"/> * <element name="footnoteRef" type="{urn:hl7-org:v3}StrucDoc.FootnoteRef"/> * <element name="renderMultiMedia" type="{urn:hl7-org:v3}StrucDoc.RenderMultiMedia"/> * </choice> * <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> * <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> * <attribute name="styleCode" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> * <attribute name="abbr" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="axis" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="headers" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> * <attribute name="scope"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="row"/> * <enumeration value="col"/> * <enumeration value="rowgroup"/> * <enumeration value="colgroup"/> * </restriction> * </simpleType> * </attribute> * <attribute name="rowspan" type="{http://www.w3.org/2001/XMLSchema}string" default="1" /> * <attribute name="colspan" type="{http://www.w3.org/2001/XMLSchema}string" default="1" /> * <attribute name="align"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="left"/> * <enumeration value="center"/> * <enumeration value="right"/> * <enumeration value="justify"/> * <enumeration value="char"/> * </restriction> * </simpleType> * </attribute> * <attribute name="char" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="charoff" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="valign"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="top"/> * <enumeration value="middle"/> * <enumeration value="bottom"/> * <enumeration value="baseline"/> * </restriction> * </simpleType> * </attribute> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "StrucDoc.Th", propOrder = { "content" }) public class StrucDocTh { @XmlElementRefs({ @XmlElementRef(name = "footnote", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "br", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "linkHtml", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "renderMultiMedia", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "footnoteRef", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "sub", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "sup", namespace = "urn:hl7-org:v3", type = JAXBElement.class), @XmlElementRef(name = "content", namespace = "urn:hl7-org:v3", type = JAXBElement.class) }) @XmlMixed protected List<Serializable> content; @XmlAttribute(name = "ID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String attributeId; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String language; @XmlAttribute @XmlSchemaType(name = "NMTOKENS") protected List<String> styleCode; @XmlAttribute protected String abbr; @XmlAttribute protected String axis; @XmlAttribute @XmlIDREF @XmlSchemaType(name = "IDREFS") protected List<Object> headers; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String scope; @XmlAttribute protected String rowspan; @XmlAttribute protected String colspan; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String align; @XmlAttribute(name = "char") protected String _char; @XmlAttribute protected String charoff; @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String valign; /** * Gets the value of the content property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the content property. * * <p> * For example, to add a new item, do as follows: * <pre> * getContent().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link StrucDocFootnote }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocBr }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocLinkHtml }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocRenderMultiMedia }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocFootnoteRef }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocSub }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocContent }{@code >} * {@link JAXBElement }{@code <}{@link StrucDocSup }{@code >} * {@link String } * * */ public List<Serializable> getContent() { if (content == null) { content = new ArrayList<Serializable>(); } return this.content; } /** * Gets the value of the attributeId property. * * @return * possible object is * {@link String } * */ public String getAttributeId() { return attributeId; } /** * Sets the value of the attributeId property. * * @param value * allowed object is * {@link String } * */ public void setAttributeId(String value) { this.attributeId = value; } /** * Gets the value of the language property. * * @return * possible object is * {@link String } * */ public String getLanguage() { return language; } /** * Sets the value of the language property. * * @param value * allowed object is * {@link String } * */ public void setLanguage(String value) { this.language = value; } /** * Gets the value of the styleCode property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the styleCode property. * * <p> * For example, to add a new item, do as follows: * <pre> * getStyleCode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getStyleCode() { if (styleCode == null) { styleCode = new ArrayList<String>(); } return this.styleCode; } /** * Gets the value of the abbr property. * * @return * possible object is * {@link String } * */ public String getAbbr() { return abbr; } /** * Sets the value of the abbr property. * * @param value * allowed object is * {@link String } * */ public void setAbbr(String value) { this.abbr = value; } /** * Gets the value of the axis property. * * @return * possible object is * {@link String } * */ public String getAxis() { return axis; } /** * Sets the value of the axis property. * * @param value * allowed object is * {@link String } * */ public void setAxis(String value) { this.axis = value; } /** * Gets the value of the headers property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the headers property. * * <p> * For example, to add a new item, do as follows: * <pre> * getHeaders().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List<Object> getHeaders() { if (headers == null) { headers = new ArrayList<Object>(); } return this.headers; } /** * Gets the value of the scope property. * * @return * possible object is * {@link String } * */ public String getScope() { return scope; } /** * Sets the value of the scope property. * * @param value * allowed object is * {@link String } * */ public void setScope(String value) { this.scope = value; } /** * Gets the value of the rowspan property. * * @return * possible object is * {@link String } * */ public String getRowspan() { if (rowspan == null) { return "1"; } else { return rowspan; } } /** * Sets the value of the rowspan property. * * @param value * allowed object is * {@link String } * */ public void setRowspan(String value) { this.rowspan = value; } /** * Gets the value of the colspan property. * * @return * possible object is * {@link String } * */ public String getColspan() { if (colspan == null) { return "1"; } else { return colspan; } } /** * Sets the value of the colspan property. * * @param value * allowed object is * {@link String } * */ public void setColspan(String value) { this.colspan = value; } /** * Gets the value of the align property. * * @return * possible object is * {@link String } * */ public String getAlign() { return align; } /** * Sets the value of the align property. * * @param value * allowed object is * {@link String } * */ public void setAlign(String value) { this.align = value; } /** * Gets the value of the char property. * * @return * possible object is * {@link String } * */ public String getChar() { return _char; } /** * Sets the value of the char property. * * @param value * allowed object is * {@link String } * */ public void setChar(String value) { this._char = value; } /** * Gets the value of the charoff property. * * @return * possible object is * {@link String } * */ public String getCharoff() { return charoff; } /** * Sets the value of the charoff property. * * @param value * allowed object is * {@link String } * */ public void setCharoff(String value) { this.charoff = value; } /** * Gets the value of the valign property. * * @return * possible object is * {@link String } * */ public String getValign() { return valign; } /** * Sets the value of the valign property. * * @param value * allowed object is * {@link String } * */ public void setValign(String value) { this.valign = value; } }