Package org.docx4j.convert.out.fopconf
Class Substitutions
java.lang.Object
org.docx4j.convert.out.fopconf.Substitutions
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="substitution" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="from">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="font-family" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="font-weight" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="font-style" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="to">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="font-family" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="font-weight" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="font-style" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the substitution property.
-
Field Details
-
substitution
-
-
Constructor Details
-
Substitutions
public Substitutions()
-
-
Method Details
-
getSubstitution
Gets the value of the substitution 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 substitution property.For example, to add a new item, do as follows:
getSubstitution().add(newItem);Objects of the following type(s) are allowed in the list
Substitutions.Substitution
-