Class CTWrap

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

public class CTWrap
extends java.lang.Object
implements Child

Java class for CT_Wrap complex type.

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

 <complexType name="CT_Wrap">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="type" type="{urn:schemas-microsoft-com:office:word}ST_WrapType" />
       <attribute name="side" type="{urn:schemas-microsoft-com:office:word}ST_WrapSide" />
       <attribute name="anchorx" type="{urn:schemas-microsoft-com:office:word}ST_HorizontalAnchor" />
       <attribute name="anchory" type="{urn:schemas-microsoft-com:office:word}ST_VerticalAnchor" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTWrap

      public CTWrap()
  • Method Details

    • getType

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

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

      public STWrapSide getSide()
      Gets the value of the side property.
      Returns:
      possible object is STWrapSide
    • setSide

      public void setSide​(STWrapSide value)
      Sets the value of the side property.
      Parameters:
      value - allowed object is STWrapSide
    • getAnchorx

      public STHorizontalAnchor getAnchorx()
      Gets the value of the anchorx property.
      Returns:
      possible object is STHorizontalAnchor
    • setAnchorx

      public void setAnchorx​(STHorizontalAnchor value)
      Sets the value of the anchorx property.
      Parameters:
      value - allowed object is STHorizontalAnchor
    • getAnchory

      public STVerticalAnchor getAnchory()
      Gets the value of the anchory property.
      Returns:
      possible object is STVerticalAnchor
    • setAnchory

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