Class TraceType

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

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

Java class for trace.type complex type.

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

 <complexType name="trace.type">
   <simpleContent>
     <extension base="<http://www.w3.org/2003/InkML>traceData.type">
       <attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
       <attribute name="type" default="penDown">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="penDown"/>
             <enumeration value="penUp"/>
             <enumeration value="indeterminate"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="continuation" default="begin">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="begin"/>
             <enumeration value="end"/>
             <enumeration value="middle"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="priorRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="contextRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="brushRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="timeOffset" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String brushRef  
    protected java.lang.String contextRef  
    protected java.lang.String continuation  
    protected java.math.BigInteger duration  
    protected java.lang.String id  
    protected java.lang.String priorRef  
    protected java.math.BigInteger timeOffset  
    protected java.lang.String type  
    protected java.lang.String value  
  • Constructor Summary

    Constructors
    Constructor Description
    TraceType()  
  • 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 getBrushRef()
    Gets the value of the brushRef property.
    java.lang.String getContextRef()
    Gets the value of the contextRef property.
    java.lang.String getContinuation()
    Gets the value of the continuation property.
    java.math.BigInteger getDuration()
    Gets the value of the duration property.
    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.
    java.lang.String getPriorRef()
    Gets the value of the priorRef property.
    java.math.BigInteger getTimeOffset()
    Gets the value of the timeOffset property.
    java.lang.String getType()
    Gets the value of the type property.
    java.lang.String getValue()
    Gets the value of the value property.
    void setBrushRef​(java.lang.String value)
    Sets the value of the brushRef property.
    void setContextRef​(java.lang.String value)
    Sets the value of the contextRef property.
    void setContinuation​(java.lang.String value)
    Sets the value of the continuation property.
    void setDuration​(java.math.BigInteger value)
    Sets the value of the duration property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setParent​(java.lang.Object parent)  
    void setPriorRef​(java.lang.String value)
    Sets the value of the priorRef property.
    void setTimeOffset​(java.math.BigInteger value)
    Sets the value of the timeOffset property.
    void setType​(java.lang.String value)
    Sets the value of the type property.
    void setValue​(java.lang.String value)
    Sets the value of the value property.

    Methods inherited from class java.lang.Object

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

    • value

      protected java.lang.String value
    • id

      protected java.lang.String id
    • type

      protected java.lang.String type
    • continuation

      protected java.lang.String continuation
    • priorRef

      protected java.lang.String priorRef
    • contextRef

      protected java.lang.String contextRef
    • brushRef

      protected java.lang.String brushRef
    • duration

      protected java.math.BigInteger duration
    • timeOffset

      protected java.math.BigInteger timeOffset
  • Constructor Details

    • TraceType

      public TraceType()
  • Method Details

    • getValue

      public java.lang.String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

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

      public java.lang.String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType​(java.lang.String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getContinuation

      public java.lang.String getContinuation()
      Gets the value of the continuation property.
      Returns:
      possible object is String
    • setContinuation

      public void setContinuation​(java.lang.String value)
      Sets the value of the continuation property.
      Parameters:
      value - allowed object is String
    • getPriorRef

      public java.lang.String getPriorRef()
      Gets the value of the priorRef property.
      Returns:
      possible object is String
    • setPriorRef

      public void setPriorRef​(java.lang.String value)
      Sets the value of the priorRef 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
    • 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
    • getDuration

      public java.math.BigInteger getDuration()
      Gets the value of the duration property.
      Returns:
      possible object is BigInteger
    • setDuration

      public void setDuration​(java.math.BigInteger value)
      Sets the value of the duration property.
      Parameters:
      value - allowed object is BigInteger
    • getTimeOffset

      public java.math.BigInteger getTimeOffset()
      Gets the value of the timeOffset property.
      Returns:
      possible object is BigInteger
    • setTimeOffset

      public void setTimeOffset​(java.math.BigInteger value)
      Sets the value of the timeOffset property.
      Parameters:
      value - allowed object is BigInteger
    • 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.