public class Document 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="background" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Background" minOccurs="0"/>
<element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}body" minOccurs="0"/>
</sequence>
<attribute ref="{http://schemas.openxmlformats.org/markup-compatibility/2006}Ignorable"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CTBackground |
background |
protected Body |
body |
protected String |
ignorable |
| Constructor and Description |
|---|
Document() |
| 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.
|
CTBackground |
getBackground()
Gets the value of the background property.
|
Body |
getBody()
Gets the value of the body property.
|
List<Object> |
getContent()
Convenience method to getBody().getContent()
|
String |
getIgnorable()
Gets the value of the ignorable property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setBackground(CTBackground value)
Sets the value of the background property.
|
void |
setBody(Body value)
Sets the value of the body property.
|
void |
setIgnorable(String value)
Sets the value of the ignorable property.
|
void |
setParent(Object parent) |
protected CTBackground background
protected Body body
protected String ignorable
public CTBackground getBackground()
CTBackgroundpublic void setBackground(CTBackground value)
value - allowed object is
CTBackgroundpublic List<Object> getContent()
getContent in interface ContentAccessorpublic void setBody(Body value)
value - allowed object is
Bodypublic String getIgnorable()
Stringpublic void setIgnorable(String value)
value - allowed object is
Stringpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2022. All Rights Reserved.