Class FontParams

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class FontParams
    extends java.lang.Object
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="AlwaysEmbed" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="EmbedAllFonts" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="MaxSubsetPct" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="NeverEmbed" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> alwaysEmbed  
      protected java.lang.Boolean embedAllFonts  
      protected java.lang.Integer maxSubsetPct  
      protected java.util.List<java.lang.String> neverEmbed  
    • Constructor Summary

      Constructors 
      Constructor Description
      FontParams()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)  
      boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)  
      java.util.List<java.lang.String> getAlwaysEmbed()
      Gets the value of the alwaysEmbed property.
      java.lang.Integer getMaxSubsetPct()
      Gets the value of the maxSubsetPct property.
      java.util.List<java.lang.String> getNeverEmbed()
      Gets the value of the neverEmbed property.
      java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
      Gets a map that contains attributes that aren't bound to any typed property on this class.
      int hashCode()  
      int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)  
      java.lang.Boolean isEmbedAllFonts()
      Gets the value of the embedAllFonts property.
      void setEmbedAllFonts​(java.lang.Boolean value)
      Sets the value of the embedAllFonts property.
      void setMaxSubsetPct​(java.lang.Integer value)
      Sets the value of the maxSubsetPct property.
      FontParams withAlwaysEmbed​(java.lang.String... values)  
      FontParams withAlwaysEmbed​(java.util.Collection<java.lang.String> values)  
      FontParams withEmbedAllFonts​(java.lang.Boolean value)  
      FontParams withMaxSubsetPct​(java.lang.Integer value)  
      FontParams withNeverEmbed​(java.lang.String... values)  
      FontParams withNeverEmbed​(java.util.Collection<java.lang.String> values)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • alwaysEmbed

        protected java.util.List<java.lang.String> alwaysEmbed
      • embedAllFonts

        protected java.lang.Boolean embedAllFonts
      • maxSubsetPct

        protected java.lang.Integer maxSubsetPct
      • neverEmbed

        protected java.util.List<java.lang.String> neverEmbed
    • Constructor Detail

      • FontParams

        public FontParams()
    • Method Detail

      • getAlwaysEmbed

        public java.util.List<java.lang.String> getAlwaysEmbed()
        Gets the value of the alwaysEmbed property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the alwaysEmbed property.

        For example, to add a new item, do as follows:

            getAlwaysEmbed().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • isEmbedAllFonts

        public java.lang.Boolean isEmbedAllFonts()
        Gets the value of the embedAllFonts property.
        Returns:
        possible object is Boolean
      • setEmbedAllFonts

        public void setEmbedAllFonts​(java.lang.Boolean value)
        Sets the value of the embedAllFonts property.
        Parameters:
        value - allowed object is Boolean
      • getMaxSubsetPct

        public java.lang.Integer getMaxSubsetPct()
        Gets the value of the maxSubsetPct property.
        Returns:
        possible object is Integer
      • setMaxSubsetPct

        public void setMaxSubsetPct​(java.lang.Integer value)
        Sets the value of the maxSubsetPct property.
        Parameters:
        value - allowed object is Integer
      • getNeverEmbed

        public java.util.List<java.lang.String> getNeverEmbed()
        Gets the value of the neverEmbed property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the neverEmbed property.

        For example, to add a new item, do as follows:

            getNeverEmbed().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • withAlwaysEmbed

        public FontParams withAlwaysEmbed​(java.lang.String... values)
      • withAlwaysEmbed

        public FontParams withAlwaysEmbed​(java.util.Collection<java.lang.String> values)
      • withEmbedAllFonts

        public FontParams withEmbedAllFonts​(java.lang.Boolean value)
      • withMaxSubsetPct

        public FontParams withMaxSubsetPct​(java.lang.Integer value)
      • withNeverEmbed

        public FontParams withNeverEmbed​(java.lang.String... values)
      • withNeverEmbed

        public FontParams withNeverEmbed​(java.util.Collection<java.lang.String> values)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object