source: trunk/docx4j/src/main/java/org/docx4j/wml/SdtElement.java @ 1472

Revision 1472, 1.5 KB checked in by jharrop, 13 months ago (diff)

Implement ContentAccessor? interface for sdt elements

Line 
1package org.docx4j.wml;
2
3import org.jvnet.jaxb2_commons.ppp.Child;
4
5//import javax.xml.bind.Unmarshaller;
6
7/**
8 * This interface is implemented by the
9 * classes which represent a content
10 * control (ie SdtBlock, SdtRun, CTSdtRow, CTSdtCell).
11 *
12 * @since 2.7
13 *
14 */
15public interface SdtElement  {
16
17    /**
18     * Gets the value of the sdtPr property.
19     *
20     * @return
21     *     possible object is
22     *     {@link SdtPr }
23     *     
24     */
25    public SdtPr getSdtPr();
26
27    /**
28     * Sets the value of the sdtPr property.
29     *
30     * @param value
31     *     allowed object is
32     *     {@link SdtPr }
33     *     
34     */
35    public void setSdtPr(SdtPr value);
36
37    /**
38     * Gets the value of the sdtEndPr property.
39     *
40     * @return
41     *     possible object is
42     *     {@link CTSdtEndPr }
43     *     
44     */
45    public CTSdtEndPr getSdtEndPr();
46
47    /**
48     * Sets the value of the sdtEndPr property.
49     *
50     * @param value
51     *     allowed object is
52     *     {@link CTSdtEndPr }
53     *     
54     */
55    public void setSdtEndPr(CTSdtEndPr value);
56
57   
58    public ContentAccessor getSdtContent();
59   
60//    /**
61//     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
62//     *
63//     * @param parent
64//     *     The parent object in the object tree.
65//     * @param unmarshaller
66//     *     The unmarshaller that generated the instance.
67//     */
68//    void afterUnmarshal(Unmarshaller unmarshaller, Object parent);
69
70}
Note: See TracBrowser for help on using the repository browser.