Package org.docx4j.org.w3.x2003.inkML
Class InkType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.InkType
- All Implemented Interfaces:
Child
http://www.w3.org/TR/InkML/#inkElement
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>
-
Field Summary
Fields -
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 definitionsOrContextOrTrace property.Gets the value of the documentID property.Gets the parent object in the object tree representing the unmarshalled xml document.voidsetDocumentID(String value) Sets the value of the documentID property.void
-
Field Details
-
definitionsOrContextOrTrace
-
documentID
-
-
Constructor Details
-
InkType
public InkType()
-
-
Method Details
-
getDefinitionsOrContextOrTrace
Gets the value of the definitionsOrContextOrTrace 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 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
DefinitionsTypeContextTypeTraceTypeTraceGroupTypeTraceViewTypeAnnotationTypeAnnotationXMLType -
getDocumentID
Gets the value of the documentID property.- Returns:
- possible object is
String
-
setDocumentID
Sets the value of the documentID 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.
-