Package org.docx4j.mce
Class AlternateContent.Choice
java.lang.Object
org.docx4j.mce.AlternateContent.Choice
- All Implemented Interfaces:
Child
- Enclosing class:
- AlternateContent
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterUnmarshal
(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getAny()
Gets the value of the any property.Gets the value of the ignorable property.Gets the value of the mustUnderstand property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the processContent property.Gets the value of the requires property.void
setIgnorable
(String value) Sets the value of the ignorable property.void
setMustUnderstand
(String value) Sets the value of the mustUnderstand property.void
void
setProcessContent
(String value) Sets the value of the processContent property.void
setRequires
(String value) Sets the value of the requires property.
-
Field Details
-
any
-
requires
-
ignorable
-
mustUnderstand
-
processContent
-
-
Constructor Details
-
Choice
public Choice()
-
-
Method Details
-
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
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
Object
-
getRequires
Gets the value of the requires property.- Returns:
- possible object is
String
-
setRequires
Sets the value of the requires property.- Parameters:
value
- allowed object isString
-
getIgnorable
Gets the value of the ignorable property.- Returns:
- possible object is
String
-
setIgnorable
Sets the value of the ignorable property.- Parameters:
value
- allowed object isString
-
getMustUnderstand
Gets the value of the mustUnderstand property.- Returns:
- possible object is
String
-
setMustUnderstand
Sets the value of the mustUnderstand property.- Parameters:
value
- allowed object isString
-
getProcessContent
Gets the value of the processContent property.- Returns:
- possible object is
String
-
setProcessContent
Sets the value of the processContent property.- Parameters:
value
- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-