Class ContextType

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

public class ContextType extends 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

  • 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 String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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