Class CTBorder

java.lang.Object
org.docx4j.vml.wordprocessingDrawing.CTBorder
All Implemented Interfaces:
Child

public class CTBorder
extends java.lang.Object
implements Child

Java class for CT_Border complex type.

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

 <complexType name="CT_Border">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="type" type="{urn:schemas-microsoft-com:office:word}ST_BorderType" />
       <attribute name="width" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
       <attribute name="shadow" type="{urn:schemas-microsoft-com:office:word}ST_BorderShadow" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected STBorderShadow shadow  
    protected STBorderType type  
    protected java.math.BigInteger width  
  • Constructor Summary

    Constructors
    Constructor Description
    CTBorder()  
  • 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.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STBorderShadow getShadow()
    Gets the value of the shadow property.
    STBorderType getType()
    Gets the value of the type property.
    java.math.BigInteger getWidth()
    Gets the value of the width property.
    void setParent​(java.lang.Object parent)  
    void setShadow​(STBorderShadow value)
    Sets the value of the shadow property.
    void setType​(STBorderType value)
    Sets the value of the type property.
    void setWidth​(java.math.BigInteger value)
    Sets the value of the width property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • CTBorder

      public CTBorder()
  • Method Details

    • getType

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

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

      public java.math.BigInteger getWidth()
      Gets the value of the width property.
      Returns:
      possible object is BigInteger
    • setWidth

      public void setWidth​(java.math.BigInteger value)
      Sets the value of the width property.
      Parameters:
      value - allowed object is BigInteger
    • getShadow

      public STBorderShadow getShadow()
      Gets the value of the shadow property.
      Returns:
      possible object is STBorderShadow
    • setShadow

      public void setShadow​(STBorderShadow value)
      Sets the value of the shadow property.
      Parameters:
      value - allowed object is STBorderShadow
    • 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.