Class Inline

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    Abbr, Acronym, Address, B, Bdo, Big, Caption, Cite, Code, Dfn, Dt, Em, H1, H2, H3, H4, H5, H6, I, Kbd, Label, Legend, P, Q, Samp, Small, Span, Strong, Sub, Sup, Tt, Var

    public class Inline
    extends java.lang.Object
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    "Inline" covers inline or "text-level" elements

    Java class for Inline complex type.

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

     <complexType name="Inline">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice maxOccurs="unbounded" minOccurs="0">
               <choice>
                 <element ref="{http://www.w3.org/1999/xhtml}a"/>
                 <choice>
                   <choice>
                     <element ref="{http://www.w3.org/1999/xhtml}br"/>
                     <element ref="{http://www.w3.org/1999/xhtml}span"/>
                     <element ref="{http://www.w3.org/1999/xhtml}bdo"/>
                     <element ref="{http://www.w3.org/1999/xhtml}map"/>
                   </choice>
                   <element ref="{http://www.w3.org/1999/xhtml}object"/>
                   <element ref="{http://www.w3.org/1999/xhtml}img"/>
                 </choice>
                 <choice>
                   <element ref="{http://www.w3.org/1999/xhtml}tt"/>
                   <element ref="{http://www.w3.org/1999/xhtml}i"/>
                   <element ref="{http://www.w3.org/1999/xhtml}b"/>
                   <element ref="{http://www.w3.org/1999/xhtml}big"/>
                   <element ref="{http://www.w3.org/1999/xhtml}small"/>
                 </choice>
                 <choice>
                   <element ref="{http://www.w3.org/1999/xhtml}em"/>
                   <element ref="{http://www.w3.org/1999/xhtml}strong"/>
                   <element ref="{http://www.w3.org/1999/xhtml}dfn"/>
                   <element ref="{http://www.w3.org/1999/xhtml}code"/>
                   <element ref="{http://www.w3.org/1999/xhtml}q"/>
                   <element ref="{http://www.w3.org/1999/xhtml}samp"/>
                   <element ref="{http://www.w3.org/1999/xhtml}kbd"/>
                   <element ref="{http://www.w3.org/1999/xhtml}var"/>
                   <element ref="{http://www.w3.org/1999/xhtml}cite"/>
                   <element ref="{http://www.w3.org/1999/xhtml}abbr"/>
                   <element ref="{http://www.w3.org/1999/xhtml}acronym"/>
                   <element ref="{http://www.w3.org/1999/xhtml}sub"/>
                   <element ref="{http://www.w3.org/1999/xhtml}sup"/>
                 </choice>
                 <choice>
                   <element ref="{http://www.w3.org/1999/xhtml}input"/>
                   <element ref="{http://www.w3.org/1999/xhtml}select"/>
                   <element ref="{http://www.w3.org/1999/xhtml}textarea"/>
                   <element ref="{http://www.w3.org/1999/xhtml}label"/>
                   <element ref="{http://www.w3.org/1999/xhtml}button"/>
                 </choice>
               </choice>
               <choice>
                 <element ref="{http://www.w3.org/1999/xhtml}ins"/>
                 <element ref="{http://www.w3.org/1999/xhtml}del"/>
                 <element ref="{http://www.w3.org/1999/xhtml}script"/>
               </choice>
             </choice>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.Object> content  
    • Constructor Summary

      Constructors 
      Constructor Description
      Inline()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)  
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.util.List<java.lang.Object> getContent()
      "Inline" covers inline or "text-level" elements Gets the value of the content property.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      java.lang.String toString()  
      Inline withContent​(java.lang.Object... values)  
      Inline withContent​(java.util.Collection<java.lang.Object> values)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • content

        protected java.util.List<java.lang.Object> content
    • Constructor Detail

      • Inline

        public Inline()
    • Method Detail

      • getContent

        public java.util.List<java.lang.Object> getContent()
        "Inline" covers inline or "text-level" elements 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 A Br Span Bdo Map Object Img Tt I B Big Small Em Strong Dfn Code Q Samp Kbd Var Cite Abbr Acronym Sub Sup Input Select Textarea Label Button Ins Del Script String

      • withContent

        public Inline withContent​(java.lang.Object... values)
      • withContent

        public Inline withContent​(java.util.Collection<java.lang.Object> values)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.StringBuilder buffer,
                                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2