Class ContentImpl

java.lang.Object
com.priint.pubserver.metadata.xml.element.ContentImpl
All Implemented Interfaces:
Content, Serializable

public class ContentImpl extends Object implements Serializable, Content

Java class for content complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="content">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice maxOccurs="unbounded" minOccurs="0">
         </choice>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="placeholder" type="{}placeholder" maxOccurs="unbounded" minOccurs="0"/>
         <element name="table" type="{}table" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="format" type="{}format" />
       <attribute name="parastyle" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="charstyle" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • ContentImpl

      public ContentImpl()
  • Method Details

    • getContent

      public List<Serializable> getContent()
      Description copied from interface: Content
      Gets the value of the content property.

      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<TableImpl> JAXBElement<String> String JAXBElement<PlaceholderImpl>

      Specified by:
      getContent in interface Content
      Returns:
      the content
    • getFormat

      public Format getFormat()
      Description copied from interface: Content
      Gets the value of the format property.
      Specified by:
      getFormat in interface Content
      Returns:
      possible object is Format
    • setFormat

      public void setFormat(Format value)
      Description copied from interface: Content
      Sets the value of the format property.
      Specified by:
      setFormat in interface Content
      Parameters:
      value - allowed object is Format
    • getParastyle

      public String getParastyle()
      Description copied from interface: Content
      Gets the value of the parastyle property.
      Specified by:
      getParastyle in interface Content
      Returns:
      possible object is String
    • setParastyle

      public void setParastyle(String value)
      Description copied from interface: Content
      Sets the value of the parastyle property.
      Specified by:
      setParastyle in interface Content
      Parameters:
      value - allowed object is String
    • getCharstyle

      public String getCharstyle()
      Description copied from interface: Content
      Gets the value of the charstyle property.
      Specified by:
      getCharstyle in interface Content
      Returns:
      possible object is String
    • setCharstyle

      public void setCharstyle(String value)
      Description copied from interface: Content
      Sets the value of the charstyle property.
      Specified by:
      setCharstyle in interface Content
      Parameters:
      value - allowed object is String