Package org.docx4j.wml
Class FontRel
java.lang.Object
org.docx4j.wml.CTRel
org.docx4j.wml.FontRel
- All Implemented Interfaces:
Child
public class FontRel extends CTRel
Java class for CT_FontRel complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_FontRel">
<complexContent>
<extension base="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Rel">
<attribute name="fontKey" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Guid" />
<attribute name="subsetted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</extension>
</complexContent>
</complexType>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FontRel() -
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.java.lang.StringgetFontKey()Gets the value of the fontKey property.booleanisSubsetted()Gets the value of the subsetted property.voidsetFontKey(java.lang.String value)Sets the value of the fontKey property.voidsetSubsetted(java.lang.Boolean value)Sets the value of the subsetted property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
fontKey
protected java.lang.String fontKey -
subsetted
protected java.lang.Boolean subsetted
-
-
Constructor Details
-
FontRel
public FontRel()
-
-
Method Details
-
getFontKey
public java.lang.String getFontKey()Gets the value of the fontKey property.- Returns:
- possible object is
String
-
setFontKey
public void setFontKey(java.lang.String value)Sets the value of the fontKey property.- Parameters:
value- allowed object isString
-
isSubsetted
public boolean isSubsetted()Gets the value of the subsetted property.- Returns:
- possible object is
Boolean
-
setSubsetted
public void setSubsetted(java.lang.Boolean value)Sets the value of the subsetted property.- Parameters:
value- allowed object isBoolean
-
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.- Overrides:
afterUnmarshalin classCTRel- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-