Class InkType

java.lang.Object
org.docx4j.org.w3.x2003.inkML.InkType
All Implemented Interfaces:
Child

public class InkType extends Object implements 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 Details

    • definitionsOrContextOrTrace

      protected List<Object> definitionsOrContextOrTrace
    • documentID

      protected String documentID
  • Constructor Details

    • InkType

      public InkType()
  • Method Details

    • getDefinitionsOrContextOrTrace

      public List<Object> 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 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

    • getDocumentID

      public String getDocumentID()
      Gets the value of the documentID property.
      Returns:
      possible object is String
    • setDocumentID

      public void setDocumentID(String value)
      Sets the value of the documentID property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent)
      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.