public class BrushType extends java.lang.Object implements Child
Java class for brush.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="brush.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="brushProperty" type="{http://www.w3.org/2003/InkML}brushProperty.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="annotation" type="{http://www.w3.org/2003/InkML}annotation.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="annotationXML" type="{http://www.w3.org/2003/InkML}annotationXML.type" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="brushRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AnnotationType> |
annotation |
protected java.util.List<AnnotationXMLType> |
annotationXML |
protected java.util.List<BrushPropertyType> |
brushProperty |
protected java.lang.String |
brushRef |
protected java.lang.String |
id |
| Constructor and Description |
|---|
BrushType() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
java.util.List<AnnotationType> |
getAnnotation()
Gets the value of the annotation property.
|
java.util.List<AnnotationXMLType> |
getAnnotationXML()
Gets the value of the annotationXML property.
|
java.util.List<BrushPropertyType> |
getBrushProperty()
Gets the value of the brushProperty property.
|
java.lang.String |
getBrushRef()
Gets the value of the brushRef property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setBrushRef(java.lang.String value)
Sets the value of the brushRef property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setParent(java.lang.Object parent) |
protected java.util.List<BrushPropertyType> brushProperty
protected java.util.List<AnnotationType> annotation
protected java.util.List<AnnotationXMLType> annotationXML
protected java.lang.String id
protected java.lang.String brushRef
public java.util.List<BrushPropertyType> getBrushProperty()
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 brushProperty property.
For example, to add a new item, do as follows:
getBrushProperty().add(newItem);
Objects of the following type(s) are allowed in the list
BrushPropertyType
public java.util.List<AnnotationType> getAnnotation()
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 annotation property.
For example, to add a new item, do as follows:
getAnnotation().add(newItem);
Objects of the following type(s) are allowed in the list
AnnotationType
public java.util.List<AnnotationXMLType> getAnnotationXML()
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 annotationXML property.
For example, to add a new item, do as follows:
getAnnotationXML().add(newItem);
Objects of the following type(s) are allowed in the list
AnnotationXMLType
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBrushRef()
Stringpublic void setBrushRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.