Class Substitutions

java.lang.Object
org.docx4j.convert.out.fopconf.Substitutions

public class Substitutions extends 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>
 
  • Field Details

  • Constructor Details

    • Substitutions

      public Substitutions()
  • Method Details

    • getSubstitution

      public List<Substitutions.Substitution> 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 set method 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