Class Block

java.lang.Object
org.w3._1999.xhtml.Block
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
Blockquote, Body, Noscript

public class Block extends Object implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for Block complex type.

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

 <complexType name="Block">
   <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}p"/>
             <choice>
               <element ref="{http://www.w3.org/1999/xhtml}h1"/>
               <element ref="{http://www.w3.org/1999/xhtml}h2"/>
               <element ref="{http://www.w3.org/1999/xhtml}h3"/>
               <element ref="{http://www.w3.org/1999/xhtml}h4"/>
               <element ref="{http://www.w3.org/1999/xhtml}h5"/>
               <element ref="{http://www.w3.org/1999/xhtml}h6"/>
             </choice>
             <element ref="{http://www.w3.org/1999/xhtml}div"/>
             <choice>
               <element ref="{http://www.w3.org/1999/xhtml}ul"/>
               <element ref="{http://www.w3.org/1999/xhtml}ol"/>
               <element ref="{http://www.w3.org/1999/xhtml}dl"/>
             </choice>
             <choice>
               <element ref="{http://www.w3.org/1999/xhtml}pre"/>
               <element ref="{http://www.w3.org/1999/xhtml}hr"/>
               <element ref="{http://www.w3.org/1999/xhtml}blockquote"/>
               <element ref="{http://www.w3.org/1999/xhtml}address"/>
             </choice>
             <element ref="{http://www.w3.org/1999/xhtml}fieldset"/>
             <element ref="{http://www.w3.org/1999/xhtml}table"/>
           </choice>
           <element ref="{http://www.w3.org/1999/xhtml}form"/>
           <choice>
             <element ref="{http://www.w3.org/1999/xhtml}noscript"/>
             <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>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Block

      public Block()
  • Method Details

    • getPOrH1OrH2

      public List<Object> getPOrH1OrH2()
      Gets the value of the pOrH1OrH2 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 pOrH1OrH2 property.

      For example, to add a new item, do as follows:

          getPOrH1OrH2().add(newItem);
       

      Objects of the following type(s) are allowed in the list Address Blockquote Del Div Dl Fieldset Form H1 H2 H3 H4 H5 H6 Hr Ins Noscript Ol P Pre Script Table Ul

    • withPOrH1OrH2

      public Block withPOrH1OrH2(Object... values)
    • withPOrH1OrH2

      public Block withPOrH1OrH2(Collection<Object> values)
    • equals

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

      public boolean equals(Object object)
      Overrides:
      equals in class 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 Object
    • toString

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

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

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

      public void setPOrH1OrH2(List<Object> value)