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

    Fields
    Modifier and Type Field Description
    protected java.lang.String fontKey  
    protected java.lang.Boolean subsetted  

    Fields inherited from class org.docx4j.wml.CTRel

    id
  • Constructor Summary

    Constructors
    Constructor Description
    FontRel()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.lang.String getFontKey()
    Gets the value of the fontKey property.
    boolean isSubsetted()
    Gets the value of the subsetted property.
    void setFontKey​(java.lang.String value)
    Sets the value of the fontKey property.
    void setSubsetted​(java.lang.Boolean value)
    Sets the value of the subsetted property.

    Methods inherited from class org.docx4j.wml.CTRel

    getId, getParent, setId, setParent

    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 is String
    • 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 is Boolean
    • 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:
      afterUnmarshal in class CTRel
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.