Class CanvasTransformType

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

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

Java class for canvasTransform.type complex type.

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

 <complexType name="canvasTransform.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type"/>
         <element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
       <attribute name="invertible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.util.List<jakarta.xml.bind.JAXBElement<MappingType>> content  
    protected java.lang.String id  
    protected java.lang.Boolean invertible  
  • Constructor Summary

    Constructors
    Constructor Description
    CanvasTransformType()  
  • 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<jakarta.xml.bind.JAXBElement<MappingType>> getContent()
    Gets the rest of the content model.
    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.
    boolean isInvertible()
    Gets the value of the invertible property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setInvertible​(java.lang.Boolean value)
    Sets the value of the invertible property.
    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

    • content

      protected java.util.List<jakarta.xml.bind.JAXBElement<MappingType>> content
    • id

      protected java.lang.String id
    • invertible

      protected java.lang.Boolean invertible
  • Constructor Details

    • CanvasTransformType

      public CanvasTransformType()
  • Method Details

    • getContent

      public java.util.List<jakarta.xml.bind.JAXBElement<MappingType>> getContent()
      Gets the rest of the content model.

      You are getting this "catch-all" property because of the following reason: The field name "Mapping" is used by two different parts of a schema. See: line 600 of file:/bvols/@git/repos/docx4j/xsd/odrawxml/inkml.xsd line 599 of file:/bvols/@git/repos/docx4j/xsd/odrawxml/inkml.xsd

      To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 content property.

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

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<MappingType>

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

      public boolean isInvertible()
      Gets the value of the invertible property.
      Returns:
      possible object is Boolean
    • setInvertible

      public void setInvertible​(java.lang.Boolean value)
      Sets the value of the invertible property.
      Parameters:
      value - allowed object is Boolean
    • 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.