public class TextContent extends Object
Java class for TextContent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TextContent">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="i" type="{}TextContent"/>
<element name="b" type="{}TextContent"/>
<element name="u" type="{}TextContent"/>
<element name="sub" type="{}TextContent"/>
<element name="sup" type="{}TextContent"/>
<element name="br" type="{}Empty"/>
<element name="ph" type="{}PlaceHolder"/>
<element name="sph" type="{}StartPlaceHolder"/>
<element name="eph" type="{}EndPlaceHolder"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
| Constructor and Description |
|---|
TextContent() |
| Modifier and Type | Method and Description |
|---|---|
List<Serializable> |
getContent()
Contains the text content itself and supports inline tags Gets the value of the content property.
|
protected List<Serializable> content
public List<Serializable> 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<TextContent>
String
JAXBElement<TextContent>
JAXBElement<EndPlaceHolder>
JAXBElement<TextContent>
JAXBElement<PlaceHolder>
JAXBElement<StartPlaceHolder>
JAXBElement<TextContent>
JAXBElement<Empty>
JAXBElement<TextContent>
Copyright © 2022. All rights reserved.