Class CTRelativeRect

java.lang.Object
org.docx4j.dml.CTRelativeRect
All Implemented Interfaces:
Child

public class CTRelativeRect extends Object implements Child

Java class for CT_RelativeRect complex type.

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

 <complexType name="CT_RelativeRect">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="l" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
       <attribute name="t" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
       <attribute name="r" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
       <attribute name="b" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_Percentage" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Integer
     
    protected Integer
     
    protected Integer
     
    protected Integer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    int
    Gets the value of the b property.
    int
    Gets the value of the l property.
    Gets the parent object in the object tree representing the unmarshalled xml document.
    int
    Gets the value of the r property.
    int
    Gets the value of the t property.
    void
    setB(Integer value)
    Sets the value of the b property.
    void
    setL(Integer value)
    Sets the value of the l property.
    void
    setParent(Object parent)
     
    void
    setR(Integer value)
    Sets the value of the r property.
    void
    setT(Integer value)
    Sets the value of the t property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • CTRelativeRect

      public CTRelativeRect()
  • Method Details

    • getL

      public int getL()
      Gets the value of the l property.
      Returns:
      possible object is Integer
    • setL

      public void setL(Integer value)
      Sets the value of the l property.
      Parameters:
      value - allowed object is Integer
    • getT

      public int getT()
      Gets the value of the t property.
      Returns:
      possible object is Integer
    • setT

      public void setT(Integer value)
      Sets the value of the t property.
      Parameters:
      value - allowed object is Integer
    • getR

      public int getR()
      Gets the value of the r property.
      Returns:
      possible object is Integer
    • setR

      public void setR(Integer value)
      Sets the value of the r property.
      Parameters:
      value - allowed object is Integer
    • getB

      public int getB()
      Gets the value of the b property.
      Returns:
      possible object is Integer
    • setB

      public void setB(Integer value)
      Sets the value of the b property.
      Parameters:
      value - allowed object is Integer
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.