Class Br

java.lang.Object
org.docx4j.wml.Br
All Implemented Interfaces:
Child

public class Br
extends java.lang.Object
implements Child

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="type" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_BrType" />
       <attribute name="clear" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_BrClear" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected STBrClear clear  
    protected STBrType type  
  • Constructor Summary

    Constructors
    Constructor Description
    Br()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    STBrClear getClear()
    Gets the value of the clear property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STBrType getType()
    Gets the value of the type property.
    void setClear​(STBrClear value)
    Sets the value of the clear property.
    void setParent​(java.lang.Object parent)  
    void setType​(STBrType value)
    Sets the value of the type property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Br

      public Br()
  • Method Details

    • getType

      public STBrType getType()
      Gets the value of the type property.
      Returns:
      possible object is STBrType
    • setType

      public void setType​(STBrType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STBrType
    • getClear

      public STBrClear getClear()
      Gets the value of the clear property.
      Returns:
      possible object is STBrClear
    • setClear

      public void setClear​(STBrClear value)
      Sets the value of the clear property.
      Parameters:
      value - allowed object is STBrClear
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
      This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.