package org.opendope.SmartArt.dataHierarchy; import java.util.ArrayList; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import org.docx4j.dml.CTTextBody; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://opendope.org/SmartArt/DataHierarchy}list"/> * <element name="images" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="image" maxOccurs="unbounded"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="contentType"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <pattern value="text/xml"/> * <pattern value="application/xml"/> * <pattern value="application/.+\+xml"/> * <pattern value=".+"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="texts" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="identifiedText" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}t"/> * </sequence> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="loTypeId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "list", "images", "texts" }) @XmlRootElement(name = "SmartArtDataHierarchy") public class SmartArtDataHierarchy { @XmlElement(required = true) protected org.opendope.SmartArt.dataHierarchy.List list; protected SmartArtDataHierarchy.Images images; protected SmartArtDataHierarchy.Texts texts; @XmlAttribute(required = true) protected String loTypeId; /** * Gets the value of the list property. * * @return * possible object is * {@link org.opendope.SmartArt.dataHierarchy.List } * */ public org.opendope.SmartArt.dataHierarchy.List getList() { return list; } /** * Sets the value of the list property. * * @param value * allowed object is * {@link org.opendope.SmartArt.dataHierarchy.List } * */ public void setList(org.opendope.SmartArt.dataHierarchy.List value) { this.list = value; } /** * Gets the value of the images property. * * @return * possible object is * {@link SmartArtDataHierarchy.Images } * */ public SmartArtDataHierarchy.Images getImages() { return images; } /** * Sets the value of the images property. * * @param value * allowed object is * {@link SmartArtDataHierarchy.Images } * */ public void setImages(SmartArtDataHierarchy.Images value) { this.images = value; } /** * Gets the value of the texts property. * * @return * possible object is * {@link SmartArtDataHierarchy.Texts } * */ public SmartArtDataHierarchy.Texts getTexts() { return texts; } /** * Sets the value of the texts property. * * @param value * allowed object is * {@link SmartArtDataHierarchy.Texts } * */ public void setTexts(SmartArtDataHierarchy.Texts value) { this.texts = value; } /** * Gets the value of the loTypeId property. * * @return * possible object is * {@link String } * */ public String getLoTypeId() { return loTypeId; } /** * Sets the value of the loTypeId property. * * @param value * allowed object is * {@link String } * */ public void setLoTypeId(String value) { this.loTypeId = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="image" maxOccurs="unbounded"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="contentType"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <pattern value="text/xml"/> * <pattern value="application/xml"/> * <pattern value="application/.+\+xml"/> * <pattern value=".+"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "image" }) public static class Images { @XmlElement(required = true) protected java.util.List<SmartArtDataHierarchy.Images.Image> image; /** * Gets the value of the image 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 image property. * * <p> * For example, to add a new item, do as follows: * <pre> * getImage().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SmartArtDataHierarchy.Images.Image } * * */ public java.util.List<SmartArtDataHierarchy.Images.Image> getImage() { if (image == null) { image = new ArrayList<SmartArtDataHierarchy.Images.Image>(); } return this.image; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="contentType"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <pattern value="text/xml"/> * <pattern value="application/xml"/> * <pattern value="application/.+\+xml"/> * <pattern value=".+"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Image { @XmlValue protected byte[] value; @XmlAttribute(required = true) protected String id; @XmlAttribute protected String contentType; /** * Gets the value of the value property. * * @return * possible object is * byte[] */ public byte[] getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * byte[] */ public void setValue(byte[] value) { this.value = ((byte[]) value); } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the contentType property. * * @return * possible object is * {@link String } * */ public String getContentType() { return contentType; } /** * Sets the value of the contentType property. * * @param value * allowed object is * {@link String } * */ public void setContentType(String value) { this.contentType = value; } } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="identifiedText" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}t"/> * </sequence> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "identifiedText" }) public static class Texts { @XmlElement(required = true) protected java.util.List<SmartArtDataHierarchy.Texts.IdentifiedText> identifiedText; /** * Gets the value of the identifiedText 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 identifiedText property. * * <p> * For example, to add a new item, do as follows: * <pre> * getIdentifiedText().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link SmartArtDataHierarchy.Texts.IdentifiedText } * * */ public java.util.List<SmartArtDataHierarchy.Texts.IdentifiedText> getIdentifiedText() { if (identifiedText == null) { identifiedText = new ArrayList<SmartArtDataHierarchy.Texts.IdentifiedText>(); } return this.identifiedText; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://schemas.openxmlformats.org/drawingml/2006/diagram}t"/> * </sequence> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "t" }) public static class IdentifiedText { @XmlElement(namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram", required = true) protected CTTextBody t; @XmlAttribute(required = true) protected String id; /** * Gets the value of the t property. * * @return * possible object is * {@link CTTextBody } * */ public CTTextBody getT() { return t; } /** * Sets the value of the t property. * * @param value * allowed object is * {@link CTTextBody } * */ public void setT(CTTextBody value) { this.t = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } } } }