Class CanvasType

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

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

Java class for canvas.type complex type.

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

 <complexType name="canvas.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
       <attribute name="traceFormatRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String id  
    protected TraceFormatType traceFormat  
    protected java.lang.String traceFormatRef  
  • Constructor Summary

    Constructors
    Constructor Description
    CanvasType()  
  • 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.lang.String getId()
    Gets the value of the id property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    TraceFormatType getTraceFormat()
    Gets the value of the traceFormat property.
    java.lang.String getTraceFormatRef()
    Gets the value of the traceFormatRef property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setParent​(java.lang.Object parent)  
    void setTraceFormat​(TraceFormatType value)
    Sets the value of the traceFormat property.
    void setTraceFormatRef​(java.lang.String value)
    Sets the value of the traceFormatRef property.

    Methods inherited from class java.lang.Object

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

    • traceFormat

      protected TraceFormatType traceFormat
    • id

      protected java.lang.String id
    • traceFormatRef

      protected java.lang.String traceFormatRef
  • Constructor Details

    • CanvasType

      public CanvasType()
  • Method Details

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