Package org.docx4j.wml
Class CTAttr
java.lang.Object
org.docx4j.wml.CTAttr
- All Implemented Interfaces:
Child
Java class for CT_Attr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Attr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="uri" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
<attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
<attribute name="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
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.getName()Gets the value of the name property.Gets the parent object in the object tree representing the unmarshalled xml document.getUri()Gets the value of the uri property.getVal()Gets the value of the val property.voidSets the value of the name property.voidvoidSets the value of the uri property.voidSets the value of the val property.
-
Field Details
-
uri
-
name
-
val
-
-
Constructor Details
-
CTAttr
public CTAttr()
-
-
Method Details
-
getUri
Gets the value of the uri property.- Returns:
- possible object is
String
-
setUri
Sets the value of the uri property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getVal
Gets the value of the val property.- Returns:
- possible object is
String
-
setVal
Sets the value of the val property.- Parameters:
value- allowed object isString
-
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.
-