Class CTWrap
java.lang.Object
org.docx4j.vml.wordprocessingDrawing.CTWrap
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected STHorizontalAnchorprotected STVerticalAnchorprotected STWrapSideprotected STWrapType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the anchorx property.Gets the value of the anchory property.Gets the parent object in the object tree representing the unmarshalled xml document.getSide()Gets the value of the side property.getType()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.voidvoidsetSide(STWrapSide value) Sets the value of the side property.voidsetType(STWrapType value) Sets the value of the type property.
-
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
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-