Class ContentType

  • Direct Known Subclasses:
    LinkType, ParagraphType, TextType, WordContentType

    public class ContentType
    extends Object

    Java class for ContentType complex type.

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

    
     <complexType name="ContentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="plain" type="{http://www.w3.org/2001/XMLSchema}string"/>
           </choice>
           <attribute name="page" use="required">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • plain

        protected String plain
      • page

        protected int page
    • Constructor Detail

      • ContentType

        public ContentType()
    • Method Detail

      • getPlain

        public String getPlain()
        Gets the value of the plain property.
        Returns:
        possible object is String
      • setPlain

        public void setPlain​(String value)
        Sets the value of the plain property.
        Parameters:
        value - allowed object is String
      • isSetPlain

        public boolean isSetPlain()
      • getPage

        public int getPage()
        Gets the value of the page property.
      • setPage

        public void setPage​(int value)
        Sets the value of the page property.
      • isSetPage

        public boolean isSetPage()