Class CanvasType

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

public class CanvasType extends 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 Details

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