Package org.cip4.lib.xjdf.schema
Class FontPolicy
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.SpecificResource
-
- org.cip4.lib.xjdf.schema.FontPolicy
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class FontPolicy extends SpecificResource implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for FontPolicy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FontPolicy"> <complexContent> <extension base="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource"> <attribute name="PreferredFont" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="UseDefaultFont" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="UseFontEmulation" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringpreferredFontprotected booleanuseDefaultFontprotected booleanuseFontEmulation
-
Constructor Summary
Constructors Constructor Description FontPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)booleanequals(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.lang.StringgetPreferredFont()Gets the value of the preferredFont property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisUseDefaultFont()Gets the value of the useDefaultFont property.booleanisUseFontEmulation()Gets the value of the useFontEmulation property.voidsetPreferredFont(java.lang.String value)Sets the value of the preferredFont property.voidsetUseDefaultFont(boolean value)Sets the value of the useDefaultFont property.voidsetUseFontEmulation(boolean value)Sets the value of the useFontEmulation property.FontPolicywithPreferredFont(java.lang.String value)FontPolicywithUseDefaultFont(boolean value)FontPolicywithUseFontEmulation(boolean value)-
Methods inherited from class org.cip4.lib.xjdf.schema.SpecificResource
getOtherAttributes
-
-
-
-
Method Detail
-
getPreferredFont
public java.lang.String getPreferredFont()
Gets the value of the preferredFont property.- Returns:
- possible object is
String
-
setPreferredFont
public void setPreferredFont(java.lang.String value)
Sets the value of the preferredFont property.- Parameters:
value- allowed object isString
-
isUseDefaultFont
public boolean isUseDefaultFont()
Gets the value of the useDefaultFont property.
-
setUseDefaultFont
public void setUseDefaultFont(boolean value)
Sets the value of the useDefaultFont property.
-
isUseFontEmulation
public boolean isUseFontEmulation()
Gets the value of the useFontEmulation property.
-
setUseFontEmulation
public void setUseFontEmulation(boolean value)
Sets the value of the useFontEmulation property.
-
withPreferredFont
public FontPolicy withPreferredFont(java.lang.String value)
-
withUseDefaultFont
public FontPolicy withUseDefaultFont(boolean value)
-
withUseFontEmulation
public FontPolicy withUseFontEmulation(boolean value)
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classSpecificResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classSpecificResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classSpecificResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSpecificResource
-
-