Class InkType

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

public class InkType
extends java.lang.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 Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<java.lang.Object> definitionsOrContextOrTrace  
    protected java.lang.String documentID  
  • Constructor Summary

    Constructors
    Constructor Description
    InkType()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • definitionsOrContextOrTrace

      protected java.util.List<java.lang.Object> definitionsOrContextOrTrace
    • documentID

      protected java.lang.String documentID
  • Constructor Details

    • InkType

      public InkType()
  • Method Details

    • getDefinitionsOrContextOrTrace

      public java.util.List<java.lang.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 java.lang.String getDocumentID()
      Gets the value of the documentID property.
      Returns:
      possible object is String
    • setDocumentID

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

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.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.