Package org.docx4j.bibliography
Class CTSources
java.lang.Object
org.docx4j.bibliography.CTSources
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
Modifier and TypeFieldDescriptionprotected String
protected List<CTSourceType>
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the selectedStyle property.Gets the value of the source property.Gets the value of the styleName property.getURI()
Gets the value of the uri property.void
setSelectedStyle
(String value) Sets the value of the selectedStyle property.void
setStyleName
(String value) Sets the value of the styleName property.void
Sets the value of the uri property.
-
Field Details
-
source
-
selectedStyle
-
styleName
-
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
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
Gets the value of the selectedStyle property.- Returns:
- possible object is
String
-
setSelectedStyle
Sets the value of the selectedStyle property.- Parameters:
value
- allowed object isString
-
getStyleName
Gets the value of the styleName property.- Returns:
- possible object is
String
-
setStyleName
Sets the value of the styleName property.- Parameters:
value
- allowed object isString
-
getURI
Gets the value of the uri property.- Returns:
- possible object is
String
-
setURI
Sets the value of the uri property.- Parameters:
value
- allowed object isString
-