public class Fonts extends Object implements Child
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"> <sequence> <element name="font" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="altName" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="panose1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Panose" minOccurs="0"/> <element name="charset" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_UcharHexNumber" minOccurs="0"/> <element name="family" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontFamily" minOccurs="0"/> <element name="notTrueType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/> <element name="pitch" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Pitch" minOccurs="0"/> <element name="sig" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontSig" minOccurs="0"/> <element name="embedRegular" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/> <element name="embedBold" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/> <element name="embedItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/> <element name="embedBoldItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Fonts.Font
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<Fonts.Font> |
font |
Constructor and Description |
---|
Fonts() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
List<Fonts.Font> |
getFont()
Gets the value of the font property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setParent(Object parent) |
protected List<Fonts.Font> font
public List<Fonts.Font> getFont()
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 font property.
For example, to add a new item, do as follows:
getFont().add(newItem);
Objects of the following type(s) are allowed in the list
Fonts.Font
public Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2019. All Rights Reserved.