Class ContextType

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

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

Java class for context.type complex type.

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

 <complexType name="context.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="canvas" type="{http://www.w3.org/2003/InkML}canvas.type" minOccurs="0"/>
         <element name="canvasTransform" type="{http://www.w3.org/2003/InkML}canvasTransform.type" minOccurs="0"/>
         <element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type" minOccurs="0"/>
         <element name="inkSource" type="{http://www.w3.org/2003/InkML}inkSource.type" minOccurs="0"/>
         <element name="brush" type="{http://www.w3.org/2003/InkML}brush.type" minOccurs="0"/>
         <element name="timestamp" type="{http://www.w3.org/2003/InkML}timestamp.type" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
       <attribute name="contextRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="canvasRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="canvasTransformRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="traceFormatRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="inkSourceRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="brushRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="timestampRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • canvas

      protected CanvasType canvas
    • canvasTransform

      protected CanvasTransformType canvasTransform
    • traceFormat

      protected TraceFormatType traceFormat
    • inkSource

      protected InkSourceType inkSource
    • brush

      protected BrushType brush
    • timestamp

      protected TimestampType timestamp
    • id

      protected java.lang.String id
    • contextRef

      protected java.lang.String contextRef
    • canvasRef

      protected java.lang.String canvasRef
    • canvasTransformRef

      protected java.lang.String canvasTransformRef
    • traceFormatRef

      protected java.lang.String traceFormatRef
    • inkSourceRef

      protected java.lang.String inkSourceRef
    • brushRef

      protected java.lang.String brushRef
    • timestampRef

      protected java.lang.String timestampRef
  • Constructor Details

    • ContextType

      public ContextType()
  • Method Details

    • getCanvas

      public CanvasType getCanvas()
      Gets the value of the canvas property.
      Returns:
      possible object is CanvasType
    • setCanvas

      public void setCanvas​(CanvasType value)
      Sets the value of the canvas property.
      Parameters:
      value - allowed object is CanvasType
    • getCanvasTransform

      public CanvasTransformType getCanvasTransform()
      Gets the value of the canvasTransform property.
      Returns:
      possible object is CanvasTransformType
    • setCanvasTransform

      public void setCanvasTransform​(CanvasTransformType value)
      Sets the value of the canvasTransform property.
      Parameters:
      value - allowed object is CanvasTransformType
    • getTraceFormat

      public TraceFormatType getTraceFormat()
      Gets the value of the traceFormat property.
      Returns:
      possible object is TraceFormatType
    • setTraceFormat

      public void setTraceFormat​(TraceFormatType value)
      Sets the value of the traceFormat property.
      Parameters:
      value - allowed object is TraceFormatType
    • getInkSource

      public InkSourceType getInkSource()
      Gets the value of the inkSource property.
      Returns:
      possible object is InkSourceType
    • setInkSource

      public void setInkSource​(InkSourceType value)
      Sets the value of the inkSource property.
      Parameters:
      value - allowed object is InkSourceType
    • getBrush

      public BrushType getBrush()
      Gets the value of the brush property.
      Returns:
      possible object is BrushType
    • setBrush

      public void setBrush​(BrushType value)
      Sets the value of the brush property.
      Parameters:
      value - allowed object is BrushType
    • getTimestamp

      public TimestampType getTimestamp()
      Gets the value of the timestamp property.
      Returns:
      possible object is TimestampType
    • setTimestamp

      public void setTimestamp​(TimestampType value)
      Sets the value of the timestamp property.
      Parameters:
      value - allowed object is TimestampType
    • getId

      public java.lang.String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId​(java.lang.String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getContextRef

      public java.lang.String getContextRef()
      Gets the value of the contextRef property.
      Returns:
      possible object is String
    • setContextRef

      public void setContextRef​(java.lang.String value)
      Sets the value of the contextRef property.
      Parameters:
      value - allowed object is String
    • getCanvasRef

      public java.lang.String getCanvasRef()
      Gets the value of the canvasRef property.
      Returns:
      possible object is String
    • setCanvasRef

      public void setCanvasRef​(java.lang.String value)
      Sets the value of the canvasRef property.
      Parameters:
      value - allowed object is String
    • getCanvasTransformRef

      public java.lang.String getCanvasTransformRef()
      Gets the value of the canvasTransformRef property.
      Returns:
      possible object is String
    • setCanvasTransformRef

      public void setCanvasTransformRef​(java.lang.String value)
      Sets the value of the canvasTransformRef property.
      Parameters:
      value - allowed object is String
    • getTraceFormatRef

      public java.lang.String getTraceFormatRef()
      Gets the value of the traceFormatRef property.
      Returns:
      possible object is String
    • setTraceFormatRef

      public void setTraceFormatRef​(java.lang.String value)
      Sets the value of the traceFormatRef property.
      Parameters:
      value - allowed object is String
    • getInkSourceRef

      public java.lang.String getInkSourceRef()
      Gets the value of the inkSourceRef property.
      Returns:
      possible object is String
    • setInkSourceRef

      public void setInkSourceRef​(java.lang.String value)
      Sets the value of the inkSourceRef property.
      Parameters:
      value - allowed object is String
    • getBrushRef

      public java.lang.String getBrushRef()
      Gets the value of the brushRef property.
      Returns:
      possible object is String
    • setBrushRef

      public void setBrushRef​(java.lang.String value)
      Sets the value of the brushRef property.
      Parameters:
      value - allowed object is String
    • getTimestampRef

      public java.lang.String getTimestampRef()
      Gets the value of the timestampRef property.
      Returns:
      possible object is String
    • setTimestampRef

      public void setTimestampRef​(java.lang.String value)
      Sets the value of the timestampRef 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.