Class FontType
- java.lang.Object
-
- net.webpdf.parameter.schema.extraction.info.FontType
-
public class FontType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a font format for a displayable page content.</p>
Java class for FontType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="FontType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="underline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}float" default="10" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description FontType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()<?floatgetSize()<?booleanisUnderline()<?voidsetName(String value)Sets the value of the name property.voidsetSize(Float value)Sets the value of the size property.voidsetUnderline(Boolean value)Sets the value of the underline property.
-
-
-
Field Detail
-
underline
protected Boolean underline
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">When set to true, the text shall be underlined.</p>
-
size
protected Float size
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The size of the font.</p>
-
name
protected String name
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The name of the used font.</p>
-
-
Method Detail
-
isUnderline
public boolean isUnderline()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">When set to true, the text shall be underlined.</p>
- Returns:
- possible object is
Boolean
-
setUnderline
public void setUnderline(Boolean value)
Sets the value of the underline property.- Parameters:
value- allowed object isBoolean- See Also:
isUnderline()
-
getSize
public float getSize()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The size of the font.</p>
- Returns:
- possible object is
Float
-
setSize
public void setSize(Float value)
Sets the value of the size property.
-
getName
public String getName()
<?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The name of the used font.</p>
- Returns:
- possible object is
String
-
-