public class CTCustomXmlRun extends Object implements CTCustomXmlElement, ContentAccessor
Java class for CT_CustomXmlRun complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CustomXmlRun"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="customXmlPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_CustomXmlPr" minOccurs="0"/> <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_PContent" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="uri" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" /> <attribute name="element" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
content |
protected CTCustomXmlPr |
customXmlPr |
protected String |
element |
protected String |
uri |
Constructor and Description |
---|
CTCustomXmlRun() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
List<Object> |
getContent()
Gets the value of the content property.
|
CTCustomXmlPr |
getCustomXmlPr()
Gets the value of the customXmlPr property.
|
String |
getElement()
Gets the value of the element property.
|
List<Object> |
getParagraphContent()
Deprecated.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
String |
getUri()
Gets the value of the uri property.
|
void |
setCustomXmlPr(CTCustomXmlPr value)
Sets the value of the customXmlPr property.
|
void |
setElement(String value)
Sets the value of the element property.
|
void |
setParent(Object parent) |
void |
setUri(String value)
Sets the value of the uri property.
|
protected CTCustomXmlPr customXmlPr
protected String uri
protected String element
public CTCustomXmlPr getCustomXmlPr()
getCustomXmlPr
in interface CTCustomXmlElement
CTCustomXmlPr
public void setCustomXmlPr(CTCustomXmlPr value)
setCustomXmlPr
in interface CTCustomXmlElement
value
- allowed object is
CTCustomXmlPr
public List<Object> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
RangePermissionStart
>
RunIns
JAXBElement
<
CTSimpleField
>
JAXBElement
<
CTCustomXmlRun
>
JAXBElement
<
CTMarkup
>
ProofErr
CommentRangeEnd
JAXBElement
<
CTMoveToRangeEnd
>
JAXBElement
<
CTMoveBookmark
>
R
JAXBElement
<
CTTrackChange
>
RunDel
JAXBElement
<
CTMarkupRange
>
JAXBElement
<
CTMarkup
>
JAXBElement
<
CTOMathPara
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
RunTrackChange
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
CTPerm
>
JAXBElement
<
CTBookmark
>
CommentRangeStart
JAXBElement
<
CTMarkup
>
JAXBElement
<
P.Hyperlink
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
CTOMath
>
JAXBElement
<
CTMoveBookmark
>
JAXBElement
<
RunTrackChange
>
JAXBElement
<
CTMarkup
>
JAXBElement
<
CTSmartTagRun
>
JAXBElement
<
SdtRun
>
JAXBElement
<
CTMoveFromRangeEnd
>
JAXBElement
<
CTRel
>
getContent
in interface ContentAccessor
getContent
in interface CTCustomXmlElement
@Deprecated public List<Object> getParagraphContent()
public String getUri()
getUri
in interface CTCustomXmlElement
String
public void setUri(String value)
setUri
in interface CTCustomXmlElement
value
- allowed object is
String
public String getElement()
getElement
in interface CTCustomXmlElement
String
public void setElement(String value)
setElement
in interface CTCustomXmlElement
value
- allowed object is
String
public Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2014. All Rights Reserved.