Package org.docx4j.mce
Class AlternateContent
java.lang.Object
org.docx4j.mce.AlternateContent
- All Implemented Interfaces:
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>
<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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AlternateContent.Choice>protected AlternateContent.Fallbackprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the choice property.Gets the value of the fallback 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.voidSets the value of the fallback property.voidsetIgnorable(String value) Sets the value of the ignorable property.voidsetMustUnderstand(String value) Sets the value of the mustUnderstand property.voidvoidsetProcessContent(String value) Sets the value of the processContent property.
-
Field Details
-
choice
-
fallback
-
ignorable
-
mustUnderstand
-
processContent
-
-
Constructor Details
-
AlternateContent
public AlternateContent()
-
-
Method Details
-
getChoice
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
setmethod 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
AlternateContent.Choice -
getFallback
Gets the value of the fallback property.- Returns:
- possible object is
AlternateContent.Fallback
-
setFallback
Sets the value of the fallback property.- Parameters:
value- allowed object isAlternateContent.Fallback
-
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.
-