public class InkType extends 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 List<Object> |
definitionsOrContextOrTrace |
protected String |
documentID |
| Constructor and Description |
|---|
InkType() |
| 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<Object> |
getDefinitionsOrContextOrTrace()
Gets the value of the definitionsOrContextOrTrace property.
|
String |
getDocumentID()
Gets the value of the documentID property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
void |
setDocumentID(String value)
Sets the value of the documentID property.
|
void |
setParent(Object parent) |
protected String documentID
public List<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 String getDocumentID()
Stringpublic void setDocumentID(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-2019. All Rights Reserved.