Package org.docx4j.convert.out.fopconf
Class Substitutions
java.lang.Object
org.docx4j.convert.out.fopconf.Substitutions
public class Substitutions
extends java.lang.Object
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 Classes Modifier and Type Class Description static classSubstitutions.SubstitutionJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Substitutions.Substitution>substitution -
Constructor Summary
Constructors Constructor Description Substitutions() -
Method Summary
Modifier and Type Method Description java.util.List<Substitutions.Substitution>getSubstitution()Gets the value of the substitution property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-