Class DefinitionsType

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

public class DefinitionsType
extends java.lang.Object
implements Child
http://www.w3.org/TR/InkML/#definitionsElement

Java class for definitions.type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="definitions.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded">
         <element name="brush" type="{http://www.w3.org/2003/InkML}brush.type"/>
         <element name="canvas" type="{http://www.w3.org/2003/InkML}canvas.type"/>
         <element name="canvasTransform" type="{http://www.w3.org/2003/InkML}canvasTransform.type"/>
         <element name="context" type="{http://www.w3.org/2003/InkML}context.type"/>
         <element name="inkSource" type="{http://www.w3.org/2003/InkML}inkSource.type"/>
         <element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type"/>
         <element name="timestamp" type="{http://www.w3.org/2003/InkML}timestamp.type"/>
         <element name="trace" type="{http://www.w3.org/2003/InkML}trace.type"/>
         <element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type"/>
         <element name="traceGroup" type="{http://www.w3.org/2003/InkML}traceGroup.type"/>
         <element name="traceView" type="{http://www.w3.org/2003/InkML}traceView.type"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

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

    Constructors
    Constructor Description
    DefinitionsType()  
  • 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> getBrushOrCanvasOrCanvasTransform()
    Gets the value of the brushOrCanvasOrCanvasTransform property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    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

    • brushOrCanvasOrCanvasTransform

      protected java.util.List<java.lang.Object> brushOrCanvasOrCanvasTransform
  • Constructor Details

    • DefinitionsType

      public DefinitionsType()
  • Method Details

    • getBrushOrCanvasOrCanvasTransform

      public java.util.List<java.lang.Object> getBrushOrCanvasOrCanvasTransform()
      Gets the value of the brushOrCanvasOrCanvasTransform 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 brushOrCanvasOrCanvasTransform property.

      For example, to add a new item, do as follows:

          getBrushOrCanvasOrCanvasTransform().add(newItem);
       

      Objects of the following type(s) are allowed in the list BrushType CanvasType CanvasTransformType ContextType InkSourceType MappingType TimestampType TraceType TraceFormatType TraceGroupType TraceViewType

    • 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.