Class CTSources

java.lang.Object
org.docx4j.bibliography.CTSources

public class CTSources extends Object

Java class for CT_Sources complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Sources">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Source" type="{http://schemas.openxmlformats.org/officeDocument/2006/bibliography}CT_SourceType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="SelectedStyle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_String" />
       <attribute name="StyleName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_String" />
       <attribute name="URI" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTSources

      public CTSources()
  • Method Details

    • getSource

      public List<CTSourceType> getSource()
      Gets the value of the source 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 source property.

      For example, to add a new item, do as follows:

          getSource().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTSourceType

    • getSelectedStyle

      public String getSelectedStyle()
      Gets the value of the selectedStyle property.
      Returns:
      possible object is String
    • setSelectedStyle

      public void setSelectedStyle(String value)
      Sets the value of the selectedStyle property.
      Parameters:
      value - allowed object is String
    • getStyleName

      public String getStyleName()
      Gets the value of the styleName property.
      Returns:
      possible object is String
    • setStyleName

      public void setStyleName(String value)
      Sets the value of the styleName property.
      Parameters:
      value - allowed object is String
    • getURI

      public String getURI()
      Gets the value of the uri property.
      Returns:
      possible object is String
    • setURI

      public void setURI(String value)
      Sets the value of the uri property.
      Parameters:
      value - allowed object is String