public class P extends Object implements Child, ContentAccessor
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="pPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PPr" minOccurs="0"/> <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_PContent" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attGroup ref="{http://schemas.microsoft.com/office/word/2010/wordml}AG_Parids"/> <attribute name="rsidRPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" /> <attribute name="rsidR" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" /> <attribute name="rsidDel" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" /> <attribute name="rsidP" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" /> <attribute name="rsidRDefault" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
P.Bdo
Java class for anonymous complex type.
|
static class |
P.Dir
Java class for anonymous complex type.
|
static class |
P.Hyperlink
Hyperlink
|
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
content |
protected String |
paraId |
protected PPr |
pPr |
protected String |
rsidDel |
protected String |
rsidP |
protected String |
rsidR |
protected String |
rsidRDefault |
protected String |
rsidRPr |
protected String |
textId |
Constructor and Description |
---|
P() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(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.
|
List<Object> |
getParagraphContent()
Deprecated.
|
String |
getParaId()
Gets the value of the paraId property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
PPr |
getPPr()
Gets the value of the pPr property.
|
String |
getRsidDel()
Gets the value of the rsidDel property.
|
String |
getRsidP()
Gets the value of the rsidP property.
|
String |
getRsidR()
Gets the value of the rsidR property.
|
String |
getRsidRDefault()
Gets the value of the rsidRDefault property.
|
String |
getRsidRPr()
Gets the value of the rsidRPr property.
|
String |
getTextId()
Gets the value of the textId property.
|
void |
replaceElement(Object current,
List insertions) |
void |
setParaId(String value)
Sets the value of the paraId property.
|
void |
setParent(Object parent) |
void |
setPPr(PPr value)
Sets the value of the pPr property.
|
void |
setRsidDel(String value)
Sets the value of the rsidDel property.
|
void |
setRsidP(String value)
Sets the value of the rsidP property.
|
void |
setRsidR(String value)
Sets the value of the rsidR property.
|
void |
setRsidRDefault(String value)
Sets the value of the rsidRDefault property.
|
void |
setRsidRPr(String value)
Sets the value of the rsidRPr property.
|
void |
setTextId(String value)
Sets the value of the textId property.
|
String |
toString()
Deprecated.
|
protected PPr pPr
protected String rsidRPr
protected String rsidR
protected String rsidDel
protected String rsidP
protected String rsidRDefault
protected String paraId
protected String textId
public void setPPr(PPr value)
value
- allowed object is
PPr
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
<
CTMarkup
>
RunIns
JAXBElement
<
CTMarkup
>
JAXBElement
<
CTRel
>
JAXBElement
<
CTMoveBookmark
>
JAXBElement
<
CTMarkup
>
JAXBElement
<
RunTrackChange
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
CTSimpleField
>
JAXBElement
<
RangePermissionStart
>
JAXBElement
<
RunTrackChange
>
JAXBElement
<
CTMoveToRangeEnd
>
JAXBElement
<
CTTrackChange
>
ProofErr
CommentRangeEnd
JAXBElement
<
CTMoveBookmark
>
R
RunDel
JAXBElement
<
CTMarkupRange
>
JAXBElement
<
CTSmartTagRun
>
JAXBElement
<
CTOMathPara
>
JAXBElement
<
CTPerm
>
CommentRangeStart
JAXBElement
<
CTMoveFromRangeEnd
>
JAXBElement
<
CTOMath
>
JAXBElement
<
CTCustomXmlRun
>
JAXBElement
<
CTTrackChange
>
JAXBElement
<
CTMarkup
>
JAXBElement
<
SdtRun
>
JAXBElement
<
P.Hyperlink
>
JAXBElement
<
CTBookmark
>
JAXBElement
<
P.Bdo
>
JAXBElement
<
P.Dir
>
getContent
in interface ContentAccessor
@Deprecated public List<Object> getParagraphContent()
public String getRsidRPr()
String
public void setRsidRPr(String value)
value
- allowed object is
String
public String getRsidR()
String
public void setRsidR(String value)
value
- allowed object is
String
public String getRsidDel()
String
public void setRsidDel(String value)
value
- allowed object is
String
public String getRsidP()
String
public void setRsidP(String value)
value
- allowed object is
String
public String getRsidRDefault()
String
public void setRsidRDefault(String value)
value
- allowed object is
String
public String getParaId()
String
public void setParaId(String value)
value
- allowed object is
String
public String getTextId()
String
public void setTextId(String value)
value
- allowed object is
String
public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.@Deprecated public String toString()
Copyright © 2007-2019. All Rights Reserved.