Class BrushType
- All Implemented Interfaces:
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AnnotationType>protected List<AnnotationXMLType>protected List<BrushPropertyType>protected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the annotation property.Gets the value of the annotationXML property.Gets the value of the brushProperty property.Gets the value of the brushRef property.getId()Gets the value of the id property.Gets the parent object in the object tree representing the unmarshalled xml document.voidsetBrushRef(String value) Sets the value of the brushRef property.voidSets the value of the id property.void
-
Field Details
-
brushProperty
-
annotation
-
annotationXML
-
id
-
brushRef
-
-
Constructor Details
-
BrushType
public BrushType()
-
-
Method Details
-
getBrushProperty
Gets the value of the brushProperty 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
setmethod 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 -
getAnnotation
Gets the value of the annotation 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
setmethod 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 -
getAnnotationXML
Gets the value of the annotationXML 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
setmethod 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 -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getBrushRef
Gets the value of the brushRef property.- Returns:
- possible object is
String
-
setBrushRef
Sets the value of the brushRef property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-