Class TraceType

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

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

    • value

      protected String value
    • id

      protected String id
    • type

      protected String type
    • continuation

      protected String continuation
    • priorRef

      protected String priorRef
    • contextRef

      protected String contextRef
    • brushRef

      protected String brushRef
    • duration

      protected BigInteger duration
    • timeOffset

      protected BigInteger timeOffset
  • Constructor Details

    • TraceType

      public TraceType()
  • Method Details

    • getValue

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

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

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

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

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

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

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

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

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

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

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

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