Package org.docx4j.org.w3.x2003.inkML
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.StringbrushRefprotected java.lang.StringcontextRefprotected java.lang.Stringcontinuationprotected java.math.BigIntegerdurationprotected java.lang.Stringidprotected java.lang.StringpriorRefprotected java.math.BigIntegertimeOffsetprotected java.lang.Stringtypeprotected java.lang.Stringvalue -
Constructor Summary
Constructors Constructor Description TraceType() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(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.StringgetBrushRef()Gets the value of the brushRef property.java.lang.StringgetContextRef()Gets the value of the contextRef property.java.lang.StringgetContinuation()Gets the value of the continuation property.java.math.BigIntegergetDuration()Gets the value of the duration property.java.lang.StringgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetPriorRef()Gets the value of the priorRef property.java.math.BigIntegergetTimeOffset()Gets the value of the timeOffset property.java.lang.StringgetType()Gets the value of the type property.java.lang.StringgetValue()Gets the value of the value property.voidsetBrushRef(java.lang.String value)Sets the value of the brushRef property.voidsetContextRef(java.lang.String value)Sets the value of the contextRef property.voidsetContinuation(java.lang.String value)Sets the value of the continuation property.voidsetDuration(java.math.BigInteger value)Sets the value of the duration property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetParent(java.lang.Object parent)voidsetPriorRef(java.lang.String value)Sets the value of the priorRef property.voidsetTimeOffset(java.math.BigInteger value)Sets the value of the timeOffset property.voidsetType(java.lang.String value)Sets the value of the type property.voidsetValue(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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isBigInteger
-
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 isBigInteger
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-