public class InkType extends java.lang.Object implements Child
Java class for ink.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ink.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="definitions" type="{http://www.w3.org/2003/InkML}definitions.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="context" type="{http://www.w3.org/2003/InkML}context.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="trace" type="{http://www.w3.org/2003/InkML}trace.type" maxOccurs="unbounded"/>
<element name="traceGroup" type="{http://www.w3.org/2003/InkML}traceGroup.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="traceView" type="{http://www.w3.org/2003/InkML}traceView.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"/>
</choice>
<attribute name="documentID" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
definitionsOrContextOrTrace |
protected java.lang.String |
documentID |
| Constructor and Description |
|---|
InkType() |
| 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<java.lang.Object> |
getDefinitionsOrContextOrTrace()
Gets the value of the definitionsOrContextOrTrace property.
|
java.lang.String |
getDocumentID()
Gets the value of the documentID property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setDocumentID(java.lang.String value)
Sets the value of the documentID property.
|
void |
setParent(java.lang.Object parent) |
protected java.util.List<java.lang.Object> definitionsOrContextOrTrace
protected java.lang.String documentID
public java.util.List<java.lang.Object> getDefinitionsOrContextOrTrace()
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 definitionsOrContextOrTrace property.
For example, to add a new item, do as follows:
getDefinitionsOrContextOrTrace().add(newItem);
Objects of the following type(s) are allowed in the list
DefinitionsType
ContextType
TraceType
TraceGroupType
TraceViewType
AnnotationType
AnnotationXMLType
public java.lang.String getDocumentID()
Stringpublic void setDocumentID(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.