PageRenderTime 50ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/docx4j-openxml-objects/src/main/java/org/docx4j/wml/R.java

http://github.com/plutext/docx4j
Java | 1573 lines | 520 code | 177 blank | 876 comment | 2 complexity | 78eb8f533aab5cad17cb483520737bfd MD5 | raw file
Possible License(s): Apache-2.0
  1. /*
  2. * Copyright 2007-2013, Plutext Pty Ltd.
  3. *
  4. * This file is part of docx4j.
  5. docx4j is licensed under the Apache License, Version 2.0 (the "License");
  6. you may not use this file except in compliance with the License.
  7. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. package org.docx4j.wml;
  16. import java.math.BigInteger;
  17. import java.util.List;
  18. import javax.xml.bind.JAXBElement;
  19. import javax.xml.bind.Unmarshaller;
  20. import javax.xml.bind.annotation.XmlAccessType;
  21. import javax.xml.bind.annotation.XmlAccessorType;
  22. import javax.xml.bind.annotation.XmlAttribute;
  23. import javax.xml.bind.annotation.XmlElementRef;
  24. import javax.xml.bind.annotation.XmlElementRefs;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlTransient;
  27. import javax.xml.bind.annotation.XmlType;
  28. import org.docx4j.mce.AlternateContent;
  29. import org.jvnet.jaxb2_commons.ppp.Child;
  30. /**
  31. * <p>Java class for anonymous complex type.
  32. *
  33. * <p>The following schema fragment specifies the expected content contained within this class.
  34. *
  35. * <pre>
  36. * &lt;complexType>
  37. * &lt;complexContent>
  38. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  39. * &lt;sequence>
  40. * &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RPr" minOccurs="0"/>
  41. * &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RunInnerContent" maxOccurs="unbounded" minOccurs="0"/>
  42. * &lt;/sequence>
  43. * &lt;attribute name="rsidRPr" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
  44. * &lt;attribute name="rsidDel" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
  45. * &lt;attribute name="rsidR" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
  46. * &lt;/restriction>
  47. * &lt;/complexContent>
  48. * &lt;/complexType>
  49. * </pre>
  50. *
  51. *
  52. */
  53. @XmlAccessorType(XmlAccessType.FIELD)
  54. @XmlType(name = "", propOrder = {
  55. "rPr",
  56. "content"
  57. })
  58. @XmlRootElement(name = "r")
  59. public class R implements Child, ContentAccessor
  60. {
  61. protected RPr rPr;
  62. @XmlElementRefs({
  63. @XmlElementRef(name = "ptab", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  64. @XmlElementRef(name = "yearLong", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  65. @XmlElementRef(name = "dayShort", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  66. @XmlElementRef(name = "noBreakHyphen", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  67. @XmlElementRef(name = "endnoteRef", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  68. @XmlElementRef(name = "pgNum", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  69. @XmlElementRef(name = "softHyphen", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  70. @XmlElementRef(name = "pict", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  71. @XmlElementRef(name = "tab", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  72. @XmlElementRef(name = "drawing", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  73. @XmlElementRef(name = "br", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = Br.class),
  74. @XmlElementRef(name = "separator", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  75. @XmlElementRef(name = "lastRenderedPageBreak", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  76. @XmlElementRef(name = "t", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  77. @XmlElementRef(name = "object", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  78. @XmlElementRef(name = "endnoteReference", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  79. @XmlElementRef(name = "instrText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  80. @XmlElementRef(name = "footnoteReference", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  81. @XmlElementRef(name = "monthShort", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  82. @XmlElementRef(name = "monthLong", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  83. @XmlElementRef(name = "continuationSeparator", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  84. @XmlElementRef(name = "ruby", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  85. @XmlElementRef(name = "annotationRef", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  86. @XmlElementRef(name = "cr", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  87. @XmlElementRef(name = "yearShort", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  88. @XmlElementRef(name = "fldChar", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  89. @XmlElementRef(name = "sym", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  90. @XmlElementRef(name = "commentReference", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  91. @XmlElementRef(name = "delInstrText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  92. @XmlElementRef(name = "footnoteRef", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  93. @XmlElementRef(name = "dayLong", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
  94. @XmlElementRef(name = "delText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = DelText.class),
  95. @XmlElementRef(name = "AlternateContent", namespace = "http://schemas.openxmlformats.org/markup-compatibility/2006", type = AlternateContent.class)
  96. })
  97. protected List<Object> content = new ArrayListWml<Object>(this);
  98. @XmlAttribute(name = "rsidRPr", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
  99. protected String rsidRPr;
  100. @XmlAttribute(name = "rsidDel", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
  101. protected String rsidDel;
  102. @XmlAttribute(name = "rsidR", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
  103. protected String rsidR;
  104. @XmlTransient
  105. private Object parent;
  106. /**
  107. * Gets the value of the rPr property.
  108. *
  109. * @return
  110. * possible object is
  111. * {@link RPr }
  112. *
  113. */
  114. public RPr getRPr() {
  115. return rPr;
  116. }
  117. /**
  118. * Sets the value of the rPr property.
  119. *
  120. * @param value
  121. * allowed object is
  122. * {@link RPr }
  123. *
  124. */
  125. public void setRPr(RPr value) {
  126. this.rPr = value;
  127. }
  128. /**
  129. * Gets the value of the content property.
  130. *
  131. * <p>
  132. * This accessor method returns a reference to the live list,
  133. * not a snapshot. Therefore any modification you make to the
  134. * returned list will be present inside the JAXB object.
  135. * This is why there is not a <CODE>set</CODE> method for the content property.
  136. *
  137. * <p>
  138. * For example, to add a new item, do as follows:
  139. * <pre>
  140. * getContent().add(newItem);
  141. * </pre>
  142. *
  143. *
  144. * <p>
  145. * Objects of the following type(s) are allowed in the list
  146. * {@link JAXBElement }{@code <}{@link R.Ptab }{@code >}
  147. * {@link JAXBElement }{@code <}{@link R.YearLong }{@code >}
  148. * {@link JAXBElement }{@code <}{@link R.DayShort }{@code >}
  149. * {@link JAXBElement }{@code <}{@link R.NoBreakHyphen }{@code >}
  150. * {@link JAXBElement }{@code <}{@link R.EndnoteRef }{@code >}
  151. * {@link JAXBElement }{@code <}{@link R.PgNum }{@code >}
  152. * {@link JAXBElement }{@code <}{@link R.SoftHyphen }{@code >}
  153. * {@link JAXBElement }{@code <}{@link Pict }{@code >}
  154. * {@link JAXBElement }{@code <}{@link R.Tab }{@code >}
  155. * {@link JAXBElement }{@code <}{@link Drawing }{@code >}
  156. * {@link Br }
  157. * {@link JAXBElement }{@code <}{@link R.Separator }{@code >}
  158. * {@link JAXBElement }{@code <}{@link R.LastRenderedPageBreak }{@code >}
  159. * {@link JAXBElement }{@code <}{@link Text }{@code >}
  160. * {@link JAXBElement }{@code <}{@link CTObject }{@code >}
  161. * {@link JAXBElement }{@code <}{@link CTFtnEdnRef }{@code >}
  162. * {@link JAXBElement }{@code <}{@link Text }{@code >}
  163. * {@link JAXBElement }{@code <}{@link CTFtnEdnRef }{@code >}
  164. * {@link JAXBElement }{@code <}{@link R.MonthShort }{@code >}
  165. * {@link JAXBElement }{@code <}{@link R.MonthLong }{@code >}
  166. * {@link JAXBElement }{@code <}{@link R.ContinuationSeparator }{@code >}
  167. * {@link JAXBElement }{@code <}{@link CTRuby }{@code >}
  168. * {@link JAXBElement }{@code <}{@link R.AnnotationRef }{@code >}
  169. * {@link JAXBElement }{@code <}{@link R.Cr }{@code >}
  170. * {@link JAXBElement }{@code <}{@link R.YearShort }{@code >}
  171. * {@link JAXBElement }{@code <}{@link FldChar }{@code >}
  172. * {@link JAXBElement }{@code <}{@link R.Sym }{@code >}
  173. * {@link JAXBElement }{@code <}{@link R.CommentReference }{@code >}
  174. * {@link JAXBElement }{@code <}{@link Text }{@code >}
  175. * {@link JAXBElement }{@code <}{@link R.FootnoteRef }{@code >}
  176. * {@link DelText }
  177. * {@link JAXBElement }{@code <}{@link R.DayLong }{@code >}
  178. * {@link AlternateContent }
  179. *
  180. * @since 2.7
  181. */
  182. public List<Object> getContent() {
  183. if (content == null) {
  184. content = new ArrayListWml<Object>(this);
  185. }
  186. return this.content;
  187. }
  188. @Deprecated
  189. public List<Object> getRunContent() {
  190. return getContent();
  191. }
  192. /**
  193. * Gets the value of the rsidRPr property.
  194. *
  195. * @return
  196. * possible object is
  197. * {@link String }
  198. *
  199. */
  200. public String getRsidRPr() {
  201. return rsidRPr;
  202. }
  203. /**
  204. * Sets the value of the rsidRPr property.
  205. *
  206. * @param value
  207. * allowed object is
  208. * {@link String }
  209. *
  210. */
  211. public void setRsidRPr(String value) {
  212. this.rsidRPr = value;
  213. }
  214. /**
  215. * Gets the value of the rsidDel property.
  216. *
  217. * @return
  218. * possible object is
  219. * {@link String }
  220. *
  221. */
  222. public String getRsidDel() {
  223. return rsidDel;
  224. }
  225. /**
  226. * Sets the value of the rsidDel property.
  227. *
  228. * @param value
  229. * allowed object is
  230. * {@link String }
  231. *
  232. */
  233. public void setRsidDel(String value) {
  234. this.rsidDel = value;
  235. }
  236. /**
  237. * Gets the value of the rsidR property.
  238. *
  239. * @return
  240. * possible object is
  241. * {@link String }
  242. *
  243. */
  244. public String getRsidR() {
  245. return rsidR;
  246. }
  247. /**
  248. * Sets the value of the rsidR property.
  249. *
  250. * @param value
  251. * allowed object is
  252. * {@link String }
  253. *
  254. */
  255. public void setRsidR(String value) {
  256. this.rsidR = value;
  257. }
  258. /**
  259. * Gets the parent object in the object tree representing the unmarshalled xml document.
  260. *
  261. * @return
  262. * The parent object.
  263. */
  264. public Object getParent() {
  265. return this.parent;
  266. }
  267. public void setParent(Object parent) {
  268. this.parent = parent;
  269. }
  270. /**
  271. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  272. *
  273. * @param parent
  274. * The parent object in the object tree.
  275. * @param unmarshaller
  276. * The unmarshaller that generated the instance.
  277. */
  278. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  279. setParent(parent);
  280. }
  281. /**
  282. * <p>Java class for anonymous complex type.
  283. *
  284. * <p>The following schema fragment specifies the expected content contained within this class.
  285. *
  286. * <pre>
  287. * &lt;complexType>
  288. * &lt;complexContent>
  289. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  290. * &lt;/restriction>
  291. * &lt;/complexContent>
  292. * &lt;/complexType>
  293. * </pre>
  294. *
  295. *
  296. */
  297. @XmlAccessorType(XmlAccessType.FIELD)
  298. @XmlType(name = "")
  299. @XmlRootElement(name = "annotationRef")
  300. public static class AnnotationRef
  301. implements Child
  302. {
  303. @XmlTransient
  304. private Object parent;
  305. /**
  306. * Gets the parent object in the object tree representing the unmarshalled xml document.
  307. *
  308. * @return
  309. * The parent object.
  310. */
  311. public Object getParent() {
  312. return this.parent;
  313. }
  314. public void setParent(Object parent) {
  315. this.parent = parent;
  316. }
  317. /**
  318. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  319. *
  320. * @param parent
  321. * The parent object in the object tree.
  322. * @param unmarshaller
  323. * The unmarshaller that generated the instance.
  324. */
  325. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  326. setParent(parent);
  327. }
  328. }
  329. /**
  330. * <p>Java class for anonymous complex type.
  331. *
  332. * <p>The following schema fragment specifies the expected content contained within this class.
  333. *
  334. * <pre>
  335. * &lt;complexType>
  336. * &lt;complexContent>
  337. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  338. * &lt;attribute name="id" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
  339. * &lt;/restriction>
  340. * &lt;/complexContent>
  341. * &lt;/complexType>
  342. * </pre>
  343. *
  344. *
  345. */
  346. @XmlAccessorType(XmlAccessType.FIELD)
  347. @XmlType(name = "")
  348. @XmlRootElement(name = "commentReference")
  349. public static class CommentReference
  350. implements Child
  351. {
  352. @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
  353. protected BigInteger id;
  354. @XmlTransient
  355. private Object parent;
  356. /**
  357. * Gets the value of the id property.
  358. *
  359. * @return
  360. * possible object is
  361. * {@link BigInteger }
  362. *
  363. */
  364. public BigInteger getId() {
  365. return id;
  366. }
  367. /**
  368. * Sets the value of the id property.
  369. *
  370. * @param value
  371. * allowed object is
  372. * {@link BigInteger }
  373. *
  374. */
  375. public void setId(BigInteger value) {
  376. this.id = value;
  377. }
  378. /**
  379. * Gets the parent object in the object tree representing the unmarshalled xml document.
  380. *
  381. * @return
  382. * The parent object.
  383. */
  384. public Object getParent() {
  385. return this.parent;
  386. }
  387. public void setParent(Object parent) {
  388. this.parent = parent;
  389. }
  390. /**
  391. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  392. *
  393. * @param parent
  394. * The parent object in the object tree.
  395. * @param unmarshaller
  396. * The unmarshaller that generated the instance.
  397. */
  398. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  399. setParent(parent);
  400. }
  401. }
  402. /**
  403. * <p>Java class for anonymous complex type.
  404. *
  405. * <p>The following schema fragment specifies the expected content contained within this class.
  406. *
  407. * <pre>
  408. * &lt;complexType>
  409. * &lt;complexContent>
  410. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  411. * &lt;/restriction>
  412. * &lt;/complexContent>
  413. * &lt;/complexType>
  414. * </pre>
  415. *
  416. *
  417. */
  418. @XmlAccessorType(XmlAccessType.FIELD)
  419. @XmlType(name = "")
  420. @XmlRootElement(name = "continuationSeparator")
  421. public static class ContinuationSeparator
  422. implements Child
  423. {
  424. @XmlTransient
  425. private Object parent;
  426. /**
  427. * Gets the parent object in the object tree representing the unmarshalled xml document.
  428. *
  429. * @return
  430. * The parent object.
  431. */
  432. public Object getParent() {
  433. return this.parent;
  434. }
  435. public void setParent(Object parent) {
  436. this.parent = parent;
  437. }
  438. /**
  439. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  440. *
  441. * @param parent
  442. * The parent object in the object tree.
  443. * @param unmarshaller
  444. * The unmarshaller that generated the instance.
  445. */
  446. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  447. setParent(parent);
  448. }
  449. }
  450. /**
  451. * <p>Java class for anonymous complex type.
  452. *
  453. * <p>The following schema fragment specifies the expected content contained within this class.
  454. *
  455. * <pre>
  456. * &lt;complexType>
  457. * &lt;complexContent>
  458. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  459. * &lt;/restriction>
  460. * &lt;/complexContent>
  461. * &lt;/complexType>
  462. * </pre>
  463. *
  464. *
  465. */
  466. @XmlAccessorType(XmlAccessType.FIELD)
  467. @XmlType(name = "")
  468. @XmlRootElement(name = "cr")
  469. public static class Cr
  470. implements Child
  471. {
  472. @XmlTransient
  473. private Object parent;
  474. /**
  475. * Gets the parent object in the object tree representing the unmarshalled xml document.
  476. *
  477. * @return
  478. * The parent object.
  479. */
  480. public Object getParent() {
  481. return this.parent;
  482. }
  483. public void setParent(Object parent) {
  484. this.parent = parent;
  485. }
  486. /**
  487. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  488. *
  489. * @param parent
  490. * The parent object in the object tree.
  491. * @param unmarshaller
  492. * The unmarshaller that generated the instance.
  493. */
  494. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  495. setParent(parent);
  496. }
  497. }
  498. /**
  499. * <p>Java class for anonymous complex type.
  500. *
  501. * <p>The following schema fragment specifies the expected content contained within this class.
  502. *
  503. * <pre>
  504. * &lt;complexType>
  505. * &lt;complexContent>
  506. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  507. * &lt;/restriction>
  508. * &lt;/complexContent>
  509. * &lt;/complexType>
  510. * </pre>
  511. *
  512. *
  513. */
  514. @XmlAccessorType(XmlAccessType.FIELD)
  515. @XmlType(name = "")
  516. @XmlRootElement(name = "dayLong")
  517. public static class DayLong
  518. implements Child
  519. {
  520. @XmlTransient
  521. private Object parent;
  522. /**
  523. * Gets the parent object in the object tree representing the unmarshalled xml document.
  524. *
  525. * @return
  526. * The parent object.
  527. */
  528. public Object getParent() {
  529. return this.parent;
  530. }
  531. public void setParent(Object parent) {
  532. this.parent = parent;
  533. }
  534. /**
  535. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  536. *
  537. * @param parent
  538. * The parent object in the object tree.
  539. * @param unmarshaller
  540. * The unmarshaller that generated the instance.
  541. */
  542. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  543. setParent(parent);
  544. }
  545. }
  546. /**
  547. * <p>Java class for anonymous complex type.
  548. *
  549. * <p>The following schema fragment specifies the expected content contained within this class.
  550. *
  551. * <pre>
  552. * &lt;complexType>
  553. * &lt;complexContent>
  554. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  555. * &lt;/restriction>
  556. * &lt;/complexContent>
  557. * &lt;/complexType>
  558. * </pre>
  559. *
  560. *
  561. */
  562. @XmlAccessorType(XmlAccessType.FIELD)
  563. @XmlType(name = "")
  564. @XmlRootElement(name = "dayShort")
  565. public static class DayShort
  566. implements Child
  567. {
  568. @XmlTransient
  569. private Object parent;
  570. /**
  571. * Gets the parent object in the object tree representing the unmarshalled xml document.
  572. *
  573. * @return
  574. * The parent object.
  575. */
  576. public Object getParent() {
  577. return this.parent;
  578. }
  579. public void setParent(Object parent) {
  580. this.parent = parent;
  581. }
  582. /**
  583. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  584. *
  585. * @param parent
  586. * The parent object in the object tree.
  587. * @param unmarshaller
  588. * The unmarshaller that generated the instance.
  589. */
  590. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  591. setParent(parent);
  592. }
  593. }
  594. /**
  595. * <p>Java class for anonymous complex type.
  596. *
  597. * <p>The following schema fragment specifies the expected content contained within this class.
  598. *
  599. * <pre>
  600. * &lt;complexType>
  601. * &lt;complexContent>
  602. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  603. * &lt;/restriction>
  604. * &lt;/complexContent>
  605. * &lt;/complexType>
  606. * </pre>
  607. *
  608. *
  609. */
  610. @XmlAccessorType(XmlAccessType.FIELD)
  611. @XmlType(name = "")
  612. @XmlRootElement(name = "endnoteRef")
  613. public static class EndnoteRef
  614. implements Child
  615. {
  616. @XmlTransient
  617. private Object parent;
  618. /**
  619. * Gets the parent object in the object tree representing the unmarshalled xml document.
  620. *
  621. * @return
  622. * The parent object.
  623. */
  624. public Object getParent() {
  625. return this.parent;
  626. }
  627. public void setParent(Object parent) {
  628. this.parent = parent;
  629. }
  630. /**
  631. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  632. *
  633. * @param parent
  634. * The parent object in the object tree.
  635. * @param unmarshaller
  636. * The unmarshaller that generated the instance.
  637. */
  638. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  639. setParent(parent);
  640. }
  641. }
  642. /**
  643. * <p>Java class for anonymous complex type.
  644. *
  645. * <p>The following schema fragment specifies the expected content contained within this class.
  646. *
  647. * <pre>
  648. * &lt;complexType>
  649. * &lt;complexContent>
  650. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  651. * &lt;/restriction>
  652. * &lt;/complexContent>
  653. * &lt;/complexType>
  654. * </pre>
  655. *
  656. *
  657. */
  658. @XmlAccessorType(XmlAccessType.FIELD)
  659. @XmlType(name = "")
  660. @XmlRootElement(name = "footnoteRef")
  661. public static class FootnoteRef
  662. implements Child
  663. {
  664. @XmlTransient
  665. private Object parent;
  666. /**
  667. * Gets the parent object in the object tree representing the unmarshalled xml document.
  668. *
  669. * @return
  670. * The parent object.
  671. */
  672. public Object getParent() {
  673. return this.parent;
  674. }
  675. public void setParent(Object parent) {
  676. this.parent = parent;
  677. }
  678. /**
  679. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  680. *
  681. * @param parent
  682. * The parent object in the object tree.
  683. * @param unmarshaller
  684. * The unmarshaller that generated the instance.
  685. */
  686. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  687. setParent(parent);
  688. }
  689. }
  690. /**
  691. * <p>Java class for anonymous complex type.
  692. *
  693. * <p>The following schema fragment specifies the expected content contained within this class.
  694. *
  695. * <pre>
  696. * &lt;complexType>
  697. * &lt;complexContent>
  698. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  699. * &lt;/restriction>
  700. * &lt;/complexContent>
  701. * &lt;/complexType>
  702. * </pre>
  703. *
  704. *
  705. */
  706. @XmlAccessorType(XmlAccessType.FIELD)
  707. @XmlType(name = "")
  708. @XmlRootElement(name = "lastRenderedPageBreak")
  709. public static class LastRenderedPageBreak
  710. implements Child
  711. {
  712. @XmlTransient
  713. private Object parent;
  714. /**
  715. * Gets the parent object in the object tree representing the unmarshalled xml document.
  716. *
  717. * @return
  718. * The parent object.
  719. */
  720. public Object getParent() {
  721. return this.parent;
  722. }
  723. public void setParent(Object parent) {
  724. this.parent = parent;
  725. }
  726. /**
  727. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  728. *
  729. * @param parent
  730. * The parent object in the object tree.
  731. * @param unmarshaller
  732. * The unmarshaller that generated the instance.
  733. */
  734. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  735. setParent(parent);
  736. }
  737. }
  738. /**
  739. * <p>Java class for anonymous complex type.
  740. *
  741. * <p>The following schema fragment specifies the expected content contained within this class.
  742. *
  743. * <pre>
  744. * &lt;complexType>
  745. * &lt;complexContent>
  746. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  747. * &lt;/restriction>
  748. * &lt;/complexContent>
  749. * &lt;/complexType>
  750. * </pre>
  751. *
  752. *
  753. */
  754. @XmlAccessorType(XmlAccessType.FIELD)
  755. @XmlType(name = "")
  756. @XmlRootElement(name = "monthLong")
  757. public static class MonthLong
  758. implements Child
  759. {
  760. @XmlTransient
  761. private Object parent;
  762. /**
  763. * Gets the parent object in the object tree representing the unmarshalled xml document.
  764. *
  765. * @return
  766. * The parent object.
  767. */
  768. public Object getParent() {
  769. return this.parent;
  770. }
  771. public void setParent(Object parent) {
  772. this.parent = parent;
  773. }
  774. /**
  775. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  776. *
  777. * @param parent
  778. * The parent object in the object tree.
  779. * @param unmarshaller
  780. * The unmarshaller that generated the instance.
  781. */
  782. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  783. setParent(parent);
  784. }
  785. }
  786. /**
  787. * <p>Java class for anonymous complex type.
  788. *
  789. * <p>The following schema fragment specifies the expected content contained within this class.
  790. *
  791. * <pre>
  792. * &lt;complexType>
  793. * &lt;complexContent>
  794. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  795. * &lt;/restriction>
  796. * &lt;/complexContent>
  797. * &lt;/complexType>
  798. * </pre>
  799. *
  800. *
  801. */
  802. @XmlAccessorType(XmlAccessType.FIELD)
  803. @XmlType(name = "")
  804. @XmlRootElement(name = "monthShort")
  805. public static class MonthShort
  806. implements Child
  807. {
  808. @XmlTransient
  809. private Object parent;
  810. /**
  811. * Gets the parent object in the object tree representing the unmarshalled xml document.
  812. *
  813. * @return
  814. * The parent object.
  815. */
  816. public Object getParent() {
  817. return this.parent;
  818. }
  819. public void setParent(Object parent) {
  820. this.parent = parent;
  821. }
  822. /**
  823. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  824. *
  825. * @param parent
  826. * The parent object in the object tree.
  827. * @param unmarshaller
  828. * The unmarshaller that generated the instance.
  829. */
  830. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  831. setParent(parent);
  832. }
  833. }
  834. /**
  835. * <p>Java class for anonymous complex type.
  836. *
  837. * <p>The following schema fragment specifies the expected content contained within this class.
  838. *
  839. * <pre>
  840. * &lt;complexType>
  841. * &lt;complexContent>
  842. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  843. * &lt;/restriction>
  844. * &lt;/complexContent>
  845. * &lt;/complexType>
  846. * </pre>
  847. *
  848. *
  849. */
  850. @XmlAccessorType(XmlAccessType.FIELD)
  851. @XmlType(name = "")
  852. @XmlRootElement(name = "noBreakHyphen")
  853. public static class NoBreakHyphen
  854. implements Child
  855. {
  856. @XmlTransient
  857. private Object parent;
  858. /**
  859. * Gets the parent object in the object tree representing the unmarshalled xml document.
  860. *
  861. * @return
  862. * The parent object.
  863. */
  864. public Object getParent() {
  865. return this.parent;
  866. }
  867. public void setParent(Object parent) {
  868. this.parent = parent;
  869. }
  870. /**
  871. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  872. *
  873. * @param parent
  874. * The parent object in the object tree.
  875. * @param unmarshaller
  876. * The unmarshaller that generated the instance.
  877. */
  878. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  879. setParent(parent);
  880. }
  881. }
  882. /**
  883. * <p>Java class for anonymous complex type.
  884. *
  885. * <p>The following schema fragment specifies the expected content contained within this class.
  886. *
  887. * <pre>
  888. * &lt;complexType>
  889. * &lt;complexContent>
  890. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  891. * &lt;/restriction>
  892. * &lt;/complexContent>
  893. * &lt;/complexType>
  894. * </pre>
  895. *
  896. *
  897. */
  898. @XmlAccessorType(XmlAccessType.FIELD)
  899. @XmlType(name = "")
  900. @XmlRootElement(name = "pgNum")
  901. public static class PgNum
  902. implements Child
  903. {
  904. @XmlTransient
  905. private Object parent;
  906. /**
  907. * Gets the parent object in the object tree representing the unmarshalled xml document.
  908. *
  909. * @return
  910. * The parent object.
  911. */
  912. public Object getParent() {
  913. return this.parent;
  914. }
  915. public void setParent(Object parent) {
  916. this.parent = parent;
  917. }
  918. /**
  919. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  920. *
  921. * @param parent
  922. * The parent object in the object tree.
  923. * @param unmarshaller
  924. * The unmarshaller that generated the instance.
  925. */
  926. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  927. setParent(parent);
  928. }
  929. }
  930. /**
  931. * <p>Java class for anonymous complex type.
  932. *
  933. * <p>The following schema fragment specifies the expected content contained within this class.
  934. *
  935. * <pre>
  936. * &lt;complexType>
  937. * &lt;complexContent>
  938. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  939. * &lt;attribute name="alignment" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PTabAlignment" />
  940. * &lt;attribute name="relativeTo" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PTabRelativeTo" />
  941. * &lt;attribute name="leader" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PTabLeader" />
  942. * &lt;/restriction>
  943. * &lt;/complexContent>
  944. * &lt;/complexType>
  945. * </pre>
  946. *
  947. *
  948. */
  949. @XmlAccessorType(XmlAccessType.FIELD)
  950. @XmlType(name = "")
  951. @XmlRootElement(name = "ptab")
  952. public static class Ptab
  953. implements Child
  954. {
  955. @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
  956. protected STPTabAlignment alignment;
  957. @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
  958. protected STPTabRelativeTo relativeTo;
  959. @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
  960. protected STPTabLeader leader;
  961. @XmlTransient
  962. private Object parent;
  963. /**
  964. * Gets the value of the alignment property.
  965. *
  966. * @return
  967. * possible object is
  968. * {@link STPTabAlignment }
  969. *
  970. */
  971. public STPTabAlignment getAlignment() {
  972. return alignment;
  973. }
  974. /**
  975. * Sets the value of the alignment property.
  976. *
  977. * @param value
  978. * allowed object is
  979. * {@link STPTabAlignment }
  980. *
  981. */
  982. public void setAlignment(STPTabAlignment value) {
  983. this.alignment = value;
  984. }
  985. /**
  986. * Gets the value of the relativeTo property.
  987. *
  988. * @return
  989. * possible object is
  990. * {@link STPTabRelativeTo }
  991. *
  992. */
  993. public STPTabRelativeTo getRelativeTo() {
  994. return relativeTo;
  995. }
  996. /**
  997. * Sets the value of the relativeTo property.
  998. *
  999. * @param value
  1000. * allowed object is
  1001. * {@link STPTabRelativeTo }
  1002. *
  1003. */
  1004. public void setRelativeTo(STPTabRelativeTo value) {
  1005. this.relativeTo = value;
  1006. }
  1007. /**
  1008. * Gets the value of the leader property.
  1009. *
  1010. * @return
  1011. * possible object is
  1012. * {@link STPTabLeader }
  1013. *
  1014. */
  1015. public STPTabLeader getLeader() {
  1016. return leader;
  1017. }
  1018. /**
  1019. * Sets the value of the leader property.
  1020. *
  1021. * @param value
  1022. * allowed object is
  1023. * {@link STPTabLeader }
  1024. *
  1025. */
  1026. public void setLeader(STPTabLeader value) {
  1027. this.leader = value;
  1028. }
  1029. /**
  1030. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1031. *
  1032. * @return
  1033. * The parent object.
  1034. */
  1035. public Object getParent() {
  1036. return this.parent;
  1037. }
  1038. public void setParent(Object parent) {
  1039. this.parent = parent;
  1040. }
  1041. /**
  1042. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1043. *
  1044. * @param parent
  1045. * The parent object in the object tree.
  1046. * @param unmarshaller
  1047. * The unmarshaller that generated the instance.
  1048. */
  1049. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1050. setParent(parent);
  1051. }
  1052. }
  1053. /**
  1054. * <p>Java class for anonymous complex type.
  1055. *
  1056. * <p>The following schema fragment specifies the expected content contained within this class.
  1057. *
  1058. * <pre>
  1059. * &lt;complexType>
  1060. * &lt;complexContent>
  1061. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1062. * &lt;/restriction>
  1063. * &lt;/complexContent>
  1064. * &lt;/complexType>
  1065. * </pre>
  1066. *
  1067. *
  1068. */
  1069. @XmlAccessorType(XmlAccessType.FIELD)
  1070. @XmlType(name = "")
  1071. @XmlRootElement(name = "separator")
  1072. public static class Separator
  1073. implements Child
  1074. {
  1075. @XmlTransient
  1076. private Object parent;
  1077. /**
  1078. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1079. *
  1080. * @return
  1081. * The parent object.
  1082. */
  1083. public Object getParent() {
  1084. return this.parent;
  1085. }
  1086. public void setParent(Object parent) {
  1087. this.parent = parent;
  1088. }
  1089. /**
  1090. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1091. *
  1092. * @param parent
  1093. * The parent object in the object tree.
  1094. * @param unmarshaller
  1095. * The unmarshaller that generated the instance.
  1096. */
  1097. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1098. setParent(parent);
  1099. }
  1100. }
  1101. /**
  1102. * <p>Java class for anonymous complex type.
  1103. *
  1104. * <p>The following schema fragment specifies the expected content contained within this class.
  1105. *
  1106. * <pre>
  1107. * &lt;complexType>
  1108. * &lt;complexContent>
  1109. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1110. * &lt;/restriction>
  1111. * &lt;/complexContent>
  1112. * &lt;/complexType>
  1113. * </pre>
  1114. *
  1115. *
  1116. */
  1117. @XmlAccessorType(XmlAccessType.FIELD)
  1118. @XmlType(name = "")
  1119. @XmlRootElement(name = "softHyphen")
  1120. public static class SoftHyphen
  1121. implements Child
  1122. {
  1123. @XmlTransient
  1124. private Object parent;
  1125. /**
  1126. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1127. *
  1128. * @return
  1129. * The parent object.
  1130. */
  1131. public Object getParent() {
  1132. return this.parent;
  1133. }
  1134. public void setParent(Object parent) {
  1135. this.parent = parent;
  1136. }
  1137. /**
  1138. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1139. *
  1140. * @param parent
  1141. * The parent object in the object tree.
  1142. * @param unmarshaller
  1143. * The unmarshaller that generated the instance.
  1144. */
  1145. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1146. setParent(parent);
  1147. }
  1148. }
  1149. /**
  1150. * <p>Java class for anonymous complex type.
  1151. *
  1152. * <p>The following schema fragment specifies the expected content contained within this class.
  1153. *
  1154. * <pre>
  1155. * &lt;complexType>
  1156. * &lt;complexContent>
  1157. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1158. * &lt;attribute name="font" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
  1159. * &lt;attribute name="char" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_ShortHexNumber" />
  1160. * &lt;/restriction>
  1161. * &lt;/complexContent>
  1162. * &lt;/complexType>
  1163. * </pre>
  1164. *
  1165. *
  1166. */
  1167. @XmlAccessorType(XmlAccessType.FIELD)
  1168. @XmlType(name = "")
  1169. @XmlRootElement(name = "sym")
  1170. public static class Sym
  1171. implements Child
  1172. {
  1173. @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
  1174. protected String font;
  1175. @XmlAttribute(name = "char", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
  1176. protected String _char;
  1177. @XmlTransient
  1178. private Object parent;
  1179. /**
  1180. * Gets the value of the font property.
  1181. *
  1182. * @return
  1183. * possible object is
  1184. * {@link String }
  1185. *
  1186. */
  1187. public String getFont() {
  1188. return font;
  1189. }
  1190. /**
  1191. * Sets the value of the font property.
  1192. *
  1193. * @param value
  1194. * allowed object is
  1195. * {@link String }
  1196. *
  1197. */
  1198. public void setFont(String value) {
  1199. this.font = value;
  1200. }
  1201. /**
  1202. * Gets the value of the char property.
  1203. *
  1204. * @return
  1205. * possible object is
  1206. * {@link String }
  1207. *
  1208. */
  1209. public String getChar() {
  1210. return _char;
  1211. }
  1212. /**
  1213. * Sets the value of the char property.
  1214. *
  1215. * @param value
  1216. * allowed object is
  1217. * {@link String }
  1218. *
  1219. */
  1220. public void setChar(String value) {
  1221. this._char = value;
  1222. }
  1223. /**
  1224. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1225. *
  1226. * @return
  1227. * The parent object.
  1228. */
  1229. public Object getParent() {
  1230. return this.parent;
  1231. }
  1232. public void setParent(Object parent) {
  1233. this.parent = parent;
  1234. }
  1235. /**
  1236. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1237. *
  1238. * @param parent
  1239. * The parent object in the object tree.
  1240. * @param unmarshaller
  1241. * The unmarshaller that generated the instance.
  1242. */
  1243. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1244. setParent(parent);
  1245. }
  1246. }
  1247. /**
  1248. * <p>Java class for anonymous complex type.
  1249. *
  1250. * <p>The following schema fragment specifies the expected content contained within this class.
  1251. *
  1252. * <pre>
  1253. * &lt;complexType>
  1254. * &lt;complexContent>
  1255. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1256. * &lt;/restriction>
  1257. * &lt;/complexContent>
  1258. * &lt;/complexType>
  1259. * </pre>
  1260. *
  1261. *
  1262. */
  1263. @XmlAccessorType(XmlAccessType.FIELD)
  1264. @XmlType(name = "")
  1265. @XmlRootElement(name = "tab")
  1266. public static class Tab
  1267. implements Child
  1268. {
  1269. @XmlTransient
  1270. private Object parent;
  1271. /**
  1272. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1273. *
  1274. * @return
  1275. * The parent object.
  1276. */
  1277. public Object getParent() {
  1278. return this.parent;
  1279. }
  1280. public void setParent(Object parent) {
  1281. this.parent = parent;
  1282. }
  1283. /**
  1284. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1285. *
  1286. * @param parent
  1287. * The parent object in the object tree.
  1288. * @param unmarshaller
  1289. * The unmarshaller that generated the instance.
  1290. */
  1291. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1292. setParent(parent);
  1293. }
  1294. }
  1295. /**
  1296. * <p>Java class for anonymous complex type.
  1297. *
  1298. * <p>The following schema fragment specifies the expected content contained within this class.
  1299. *
  1300. * <pre>
  1301. * &lt;complexType>
  1302. * &lt;complexContent>
  1303. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1304. * &lt;/restriction>
  1305. * &lt;/complexContent>
  1306. * &lt;/complexType>
  1307. * </pre>
  1308. *
  1309. *
  1310. */
  1311. @XmlAccessorType(XmlAccessType.FIELD)
  1312. @XmlType(name = "")
  1313. @XmlRootElement(name = "yearLong")
  1314. public static class YearLong
  1315. implements Child
  1316. {
  1317. @XmlTransient
  1318. private Object parent;
  1319. /**
  1320. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1321. *
  1322. * @return
  1323. * The parent object.
  1324. */
  1325. public Object getParent() {
  1326. return this.parent;
  1327. }
  1328. public void setParent(Object parent) {
  1329. this.parent = parent;
  1330. }
  1331. /**
  1332. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1333. *
  1334. * @param parent
  1335. * The parent object in the object tree.
  1336. * @param unmarshaller
  1337. * The unmarshaller that generated the instance.
  1338. */
  1339. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1340. setParent(parent);
  1341. }
  1342. }
  1343. /**
  1344. * <p>Java class for anonymous complex type.
  1345. *
  1346. * <p>The following schema fragment specifies the expected content contained within this class.
  1347. *
  1348. * <pre>
  1349. * &lt;complexType>
  1350. * &lt;complexContent>
  1351. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  1352. * &lt;/restriction>
  1353. * &lt;/complexContent>
  1354. * &lt;/complexType>
  1355. * </pre>
  1356. *
  1357. *
  1358. */
  1359. @XmlAccessorType(XmlAccessType.FIELD)
  1360. @XmlType(name = "")
  1361. @XmlRootElement(name = "yearShort")
  1362. public static class YearShort
  1363. implements Child
  1364. {
  1365. @XmlTransient
  1366. private Object parent;
  1367. /**
  1368. * Gets the parent object in the object tree representing the unmarshalled xml document.
  1369. *
  1370. * @return
  1371. * The parent object.
  1372. */
  1373. public Object getParent() {
  1374. return this.parent;
  1375. }
  1376. public void setParent(Object parent) {
  1377. this.parent = parent;
  1378. }
  1379. /**
  1380. * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
  1381. *
  1382. * @param parent
  1383. * The parent object in the object tree.
  1384. * @param unmarshaller
  1385. * The unmarshaller that generated the instance.
  1386. */
  1387. public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
  1388. setParent(parent);
  1389. }
  1390. }
  1391. }