Class CTBorder

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

public class CTBorder extends 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 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 BigInteger getWidth()
      Gets the value of the width property.
      Returns:
      possible object is BigInteger
    • setWidth

      public void setWidth(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 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.