
org.openfuxml.xml.renderer.cmp.Targets Maven / Gradle / Ivy
package org.openfuxml.xml.renderer.cmp;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.openfuxml.org/cmp}pdf" maxOccurs="unbounded"/>
* <element ref="{http://www.openfuxml.org/cmp}html" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pdf",
"html"
})
@XmlRootElement(name = "targets")
public class Targets
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected List pdf;
@XmlElement(required = true)
protected List html;
/**
* Gets the value of the pdf property.
*
*
* 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 set
method for the pdf property.
*
*
* For example, to add a new item, do as follows:
*
* getPdf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Pdf }
*
*
*/
public List getPdf() {
if (pdf == null) {
pdf = new ArrayList();
}
return this.pdf;
}
public boolean isSetPdf() {
return ((this.pdf!= null)&&(!this.pdf.isEmpty()));
}
public void unsetPdf() {
this.pdf = null;
}
/**
* Gets the value of the html property.
*
*
* 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 set
method for the html property.
*
*
* For example, to add a new item, do as follows:
*
* getHtml().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Html }
*
*
*/
public List getHtml() {
if (html == null) {
html = new ArrayList();
}
return this.html;
}
public boolean isSetHtml() {
return ((this.html!= null)&&(!this.html.isEmpty()));
}
public void unsetHtml() {
this.html = null;
}
}