Class PreContent

java.lang.Object
org.w3._1999.xhtml.PreContent
Direct Known Subclasses:
Pre

public class PreContent extends Object
pre uses "Inline" excluding big, small, sup or sup <p>Java class for pre.content complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="pre.content"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://www.w3.org/1999/xhtml}a"/> <group ref="{http://www.w3.org/1999/xhtml}fontstyle"/> <group ref="{http://www.w3.org/1999/xhtml}phrase"/> <group ref="{http://www.w3.org/1999/xhtml}special.pre"/> <group ref="{http://www.w3.org/1999/xhtml}misc.inline"/> <group ref="{http://www.w3.org/1999/xhtml}inline.forms"/> </choice> </restriction> </complexContent> </complexType> }</pre>
  • Field Details

    • content

      protected List<Object> content
      pre uses "Inline" excluding big, small, sup or sup
  • Constructor Details

    • PreContent

      public PreContent()
  • Method Details

    • getContent

      public List<Object> getContent()
      pre uses "Inline" excluding big, small, sup or sup 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 Jakarta XML Binding 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 String A Abbr Acronym B Bdo Big Br Button Cite Code Del Dfn Em I Input Ins Kbd Label Map Q Samp Script Select Small Span Strong Sub Sup Textarea Tt Var

      Returns:
      The value of the content property.