Package org.docx4j.bibliography
Class CTSources
java.lang.Object
org.docx4j.bibliography.CTSources
public class CTSources
extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.StringselectedStyleprotected java.util.List<CTSourceType>sourceprotected java.lang.StringstyleNameprotected java.lang.Stringuri -
Constructor Summary
Constructors Constructor Description CTSources() -
Method Summary
Modifier and Type Method Description java.lang.StringgetSelectedStyle()Gets the value of the selectedStyle property.java.util.List<CTSourceType>getSource()Gets the value of the source property.java.lang.StringgetStyleName()Gets the value of the styleName property.java.lang.StringgetURI()Gets the value of the uri property.voidsetSelectedStyle(java.lang.String value)Sets the value of the selectedStyle property.voidsetStyleName(java.lang.String value)Sets the value of the styleName property.voidsetURI(java.lang.String value)Sets the value of the uri property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
source
-
selectedStyle
protected java.lang.String selectedStyle -
styleName
protected java.lang.String styleName -
uri
protected java.lang.String uri
-
-
Constructor Details
-
CTSources
public CTSources()
-
-
Method Details
-
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
setmethod 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 java.lang.String getSelectedStyle()Gets the value of the selectedStyle property.- Returns:
- possible object is
String
-
setSelectedStyle
public void setSelectedStyle(java.lang.String value)Sets the value of the selectedStyle property.- Parameters:
value- allowed object isString
-
getStyleName
public java.lang.String getStyleName()Gets the value of the styleName property.- Returns:
- possible object is
String
-
setStyleName
public void setStyleName(java.lang.String value)Sets the value of the styleName property.- Parameters:
value- allowed object isString
-
getURI
public java.lang.String getURI()Gets the value of the uri property.- Returns:
- possible object is
String
-
setURI
public void setURI(java.lang.String value)Sets the value of the uri property.- Parameters:
value- allowed object isString
-