All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.docx4j.mce.AlternateContent Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

There is a newer version: 6.1.2
Show newest version

package org.docx4j.mce;

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.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
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 name="Choice" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <any maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="Requires" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}MustUnderstand"/>
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}ProcessContent"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Fallback" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <any maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}MustUnderstand"/>
 *                 <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}ProcessContent"/>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
 *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}MustUnderstand"/>
 *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}ProcessContent"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "choice", "fallback" }) @XmlRootElement(name = "AlternateContent") public class AlternateContent { @XmlElement(name = "Choice") protected List choice; @XmlElement(name = "Fallback") protected AlternateContent.Fallback fallback; @XmlAttribute(name = "Ignorable", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String ignorable; @XmlAttribute(name = "MustUnderstand", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String mustUnderstand; @XmlAttribute(name = "ProcessContent", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String processContent; /** * Gets the value of the choice 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 choice property. * *

* For example, to add a new item, do as follows: *

     *    getChoice().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AlternateContent.Choice } * * */ public List getChoice() { if (choice == null) { choice = new ArrayList(); } return this.choice; } /** * Gets the value of the fallback property. * * @return * possible object is * {@link AlternateContent.Fallback } * */ public AlternateContent.Fallback getFallback() { return fallback; } /** * Sets the value of the fallback property. * * @param value * allowed object is * {@link AlternateContent.Fallback } * */ public void setFallback(AlternateContent.Fallback value) { this.fallback = value; } /** * Gets the value of the ignorable property. * * @return * possible object is * {@link String } * */ public String getIgnorable() { return ignorable; } /** * Sets the value of the ignorable property. * * @param value * allowed object is * {@link String } * */ public void setIgnorable(String value) { this.ignorable = value; } /** * Gets the value of the mustUnderstand property. * * @return * possible object is * {@link String } * */ public String getMustUnderstand() { return mustUnderstand; } /** * Sets the value of the mustUnderstand property. * * @param value * allowed object is * {@link String } * */ public void setMustUnderstand(String value) { this.mustUnderstand = value; } /** * Gets the value of the processContent property. * * @return * possible object is * {@link String } * */ public String getProcessContent() { return processContent; } /** * Sets the value of the processContent property. * * @param value * allowed object is * {@link String } * */ public void setProcessContent(String value) { this.processContent = value; } /** *

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>
     *         <any maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute name="Requires" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}MustUnderstand"/>
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}ProcessContent"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class Choice { @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "Requires", required = true) protected String requires; @XmlAttribute(name = "Ignorable", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String ignorable; @XmlAttribute(name = "MustUnderstand", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String mustUnderstand; @XmlAttribute(name = "ProcessContent", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String processContent; /** * Gets the value of the any 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 any property. * *

* For example, to add a new item, do as follows: *

         *    getAny().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } /** * Gets the value of the requires property. * * @return * possible object is * {@link String } * */ public String getRequires() { return requires; } /** * Sets the value of the requires property. * * @param value * allowed object is * {@link String } * */ public void setRequires(String value) { this.requires = value; } /** * Gets the value of the ignorable property. * * @return * possible object is * {@link String } * */ public String getIgnorable() { return ignorable; } /** * Sets the value of the ignorable property. * * @param value * allowed object is * {@link String } * */ public void setIgnorable(String value) { this.ignorable = value; } /** * Gets the value of the mustUnderstand property. * * @return * possible object is * {@link String } * */ public String getMustUnderstand() { return mustUnderstand; } /** * Sets the value of the mustUnderstand property. * * @param value * allowed object is * {@link String } * */ public void setMustUnderstand(String value) { this.mustUnderstand = value; } /** * Gets the value of the processContent property. * * @return * possible object is * {@link String } * */ public String getProcessContent() { return processContent; } /** * Sets the value of the processContent property. * * @param value * allowed object is * {@link String } * */ public void setProcessContent(String value) { this.processContent = value; } } /** *

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>
     *         <any maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}MustUnderstand"/>
     *       <attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}ProcessContent"/>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class Fallback { @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "Ignorable", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String ignorable; @XmlAttribute(name = "MustUnderstand", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String mustUnderstand; @XmlAttribute(name = "ProcessContent", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006") protected String processContent; /** * Gets the value of the any 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 any property. * *

* For example, to add a new item, do as follows: *

         *    getAny().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } /** * Gets the value of the ignorable property. * * @return * possible object is * {@link String } * */ public String getIgnorable() { return ignorable; } /** * Sets the value of the ignorable property. * * @param value * allowed object is * {@link String } * */ public void setIgnorable(String value) { this.ignorable = value; } /** * Gets the value of the mustUnderstand property. * * @return * possible object is * {@link String } * */ public String getMustUnderstand() { return mustUnderstand; } /** * Sets the value of the mustUnderstand property. * * @param value * allowed object is * {@link String } * */ public void setMustUnderstand(String value) { this.mustUnderstand = value; } /** * Gets the value of the processContent property. * * @return * possible object is * {@link String } * */ public String getProcessContent() { return processContent; } /** * Sets the value of the processContent property. * * @param value * allowed object is * {@link String } * */ public void setProcessContent(String value) { this.processContent = value; } } }