public class TraceGroupType extends Object implements Child
Java class for traceGroup.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="traceGroup.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded">
<element name="trace" type="{http://www.w3.org/2003/InkML}trace.type" minOccurs="0"/>
<element name="traceGroup" type="{http://www.w3.org/2003/InkML}traceGroup.type" minOccurs="0"/>
<element name="traceView" type="{http://www.w3.org/2003/InkML}traceView.type" minOccurs="0"/>
<element name="annotation" type="{http://www.w3.org/2003/InkML}annotation.type" minOccurs="0"/>
<element name="annotationXML" type="{http://www.w3.org/2003/InkML}annotationXML.type" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="contextRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="brushRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
brushRef |
protected String |
contextRef |
protected String |
id |
protected List<Object> |
traceAndTraceGroupAndTraceView |
| Constructor and Description |
|---|
TraceGroupType() |
| 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.
|
String |
getBrushRef()
Gets the value of the brushRef property.
|
String |
getContextRef()
Gets the value of the contextRef property.
|
String |
getId()
Gets the value of the id property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
List<Object> |
getTraceAndTraceGroupAndTraceView()
Gets the value of the traceAndTraceGroupAndTraceView property.
|
void |
setBrushRef(String value)
Sets the value of the brushRef property.
|
void |
setContextRef(String value)
Sets the value of the contextRef property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setParent(Object parent) |
protected String id
protected String contextRef
protected String brushRef
public List<Object> getTraceAndTraceGroupAndTraceView()
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 traceAndTraceGroupAndTraceView property.
For example, to add a new item, do as follows:
getTraceAndTraceGroupAndTraceView().add(newItem);
Objects of the following type(s) are allowed in the list
TraceType
TraceGroupType
TraceViewType
AnnotationType
AnnotationXMLType
public void setId(String value)
value - allowed object is
Stringpublic String getContextRef()
Stringpublic void setContextRef(String value)
value - allowed object is
Stringpublic String getBrushRef()
Stringpublic void setBrushRef(String value)
value - allowed object is
Stringpublic 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-2022. All Rights Reserved.