Package org.docx4j.mce
Class AlternateContent.Choice
java.lang.Object
org.docx4j.mce.AlternateContent.Choice
- All Implemented Interfaces:
Child
- Enclosing class:
- AlternateContent
public static class AlternateContent.Choice extends java.lang.Object implements Child
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>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>anyprotected java.lang.Stringignorableprotected java.lang.StringmustUnderstandprotected java.lang.StringprocessContentprotected java.lang.Stringrequires -
Constructor Summary
Constructors Constructor Description Choice() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.util.List<java.lang.Object>getAny()Gets the value of the any property.java.lang.StringgetIgnorable()Gets the value of the ignorable property.java.lang.StringgetMustUnderstand()Gets the value of the mustUnderstand property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetProcessContent()Gets the value of the processContent property.java.lang.StringgetRequires()Gets the value of the requires property.voidsetIgnorable(java.lang.String value)Sets the value of the ignorable property.voidsetMustUnderstand(java.lang.String value)Sets the value of the mustUnderstand property.voidsetParent(java.lang.Object parent)voidsetProcessContent(java.lang.String value)Sets the value of the processContent property.voidsetRequires(java.lang.String value)Sets the value of the requires property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
any
protected java.util.List<java.lang.Object> any -
requires
protected java.lang.String requires -
ignorable
protected java.lang.String ignorable -
mustUnderstand
protected java.lang.String mustUnderstand -
processContent
protected java.lang.String processContent
-
-
Constructor Details
-
Choice
public Choice()
-
-
Method Details
-
getAny
public java.util.List<java.lang.Object> getAny()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
setmethod 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
Object -
getRequires
public java.lang.String getRequires()Gets the value of the requires property.- Returns:
- possible object is
String
-
setRequires
public void setRequires(java.lang.String value)Sets the value of the requires property.- Parameters:
value- allowed object isString
-
getIgnorable
public java.lang.String getIgnorable()Gets the value of the ignorable property.- Returns:
- possible object is
String
-
setIgnorable
public void setIgnorable(java.lang.String value)Sets the value of the ignorable property.- Parameters:
value- allowed object isString
-
getMustUnderstand
public java.lang.String getMustUnderstand()Gets the value of the mustUnderstand property.- Returns:
- possible object is
String
-
setMustUnderstand
public void setMustUnderstand(java.lang.String value)Sets the value of the mustUnderstand property.- Parameters:
value- allowed object isString
-
getProcessContent
public java.lang.String getProcessContent()Gets the value of the processContent property.- Returns:
- possible object is
String
-
setProcessContent
public void setProcessContent(java.lang.String value)Sets the value of the processContent property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-