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 Summary
Fields Modifier and Type Field Description protected STHorizontalAnchoranchorxprotected STVerticalAnchoranchoryprotected STWrapSidesideprotected STWrapTypetype -
Constructor Summary
Constructors Constructor Description CTWrap() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STHorizontalAnchorgetAnchorx()Gets the value of the anchorx property.STVerticalAnchorgetAnchory()Gets the value of the anchory property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STWrapSidegetSide()Gets the value of the side property.STWrapTypegetType()Gets the value of the type property.voidsetAnchorx(STHorizontalAnchor value)Sets the value of the anchorx property.voidsetAnchory(STVerticalAnchor value)Sets the value of the anchory property.voidsetParent(java.lang.Object parent)voidsetSide(STWrapSide value)Sets the value of the side property.voidsetType(STWrapType 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
-
type
-
side
-
anchorx
-
anchory
-
-
Constructor Details
-
CTWrap
public CTWrap()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
STWrapType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTWrapType
-
getSide
Gets the value of the side property.- Returns:
- possible object is
STWrapSide
-
setSide
Sets the value of the side property.- Parameters:
value- allowed object isSTWrapSide
-
getAnchorx
Gets the value of the anchorx property.- Returns:
- possible object is
STHorizontalAnchor
-
setAnchorx
Sets the value of the anchorx property.- Parameters:
value- allowed object isSTHorizontalAnchor
-
getAnchory
Gets the value of the anchory property.- Returns:
- possible object is
STVerticalAnchor
-
setAnchory
Sets the value of the anchory property.- Parameters:
value- allowed object isSTVerticalAnchor
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-