Package org.docx4j.org.w3.x2003.inkML
Class ContextType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.ContextType
- All Implemented Interfaces:
Child
public class ContextType extends java.lang.Object implements Child
http://www.w3.org/TR/InkML/#contextElement
Java class for context.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="context.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="canvas" type="{http://www.w3.org/2003/InkML}canvas.type" minOccurs="0"/>
<element name="canvasTransform" type="{http://www.w3.org/2003/InkML}canvasTransform.type" minOccurs="0"/>
<element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type" minOccurs="0"/>
<element name="inkSource" type="{http://www.w3.org/2003/InkML}inkSource.type" minOccurs="0"/>
<element name="brush" type="{http://www.w3.org/2003/InkML}brush.type" minOccurs="0"/>
<element name="timestamp" type="{http://www.w3.org/2003/InkML}timestamp.type" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="contextRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="canvasRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="canvasTransformRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="traceFormatRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="inkSourceRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="brushRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="timestampRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected BrushTypebrushprotected java.lang.StringbrushRefprotected CanvasTypecanvasprotected java.lang.StringcanvasRefprotected CanvasTransformTypecanvasTransformprotected java.lang.StringcanvasTransformRefprotected java.lang.StringcontextRefprotected java.lang.Stringidprotected InkSourceTypeinkSourceprotected java.lang.StringinkSourceRefprotected TimestampTypetimestampprotected java.lang.StringtimestampRefprotected TraceFormatTypetraceFormatprotected java.lang.StringtraceFormatRef -
Constructor Summary
Constructors Constructor Description ContextType() -
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.BrushTypegetBrush()Gets the value of the brush property.java.lang.StringgetBrushRef()Gets the value of the brushRef property.CanvasTypegetCanvas()Gets the value of the canvas property.java.lang.StringgetCanvasRef()Gets the value of the canvasRef property.CanvasTransformTypegetCanvasTransform()Gets the value of the canvasTransform property.java.lang.StringgetCanvasTransformRef()Gets the value of the canvasTransformRef property.java.lang.StringgetContextRef()Gets the value of the contextRef property.java.lang.StringgetId()Gets the value of the id property.InkSourceTypegetInkSource()Gets the value of the inkSource property.java.lang.StringgetInkSourceRef()Gets the value of the inkSourceRef property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.TimestampTypegetTimestamp()Gets the value of the timestamp property.java.lang.StringgetTimestampRef()Gets the value of the timestampRef property.TraceFormatTypegetTraceFormat()Gets the value of the traceFormat property.java.lang.StringgetTraceFormatRef()Gets the value of the traceFormatRef property.voidsetBrush(BrushType value)Sets the value of the brush property.voidsetBrushRef(java.lang.String value)Sets the value of the brushRef property.voidsetCanvas(CanvasType value)Sets the value of the canvas property.voidsetCanvasRef(java.lang.String value)Sets the value of the canvasRef property.voidsetCanvasTransform(CanvasTransformType value)Sets the value of the canvasTransform property.voidsetCanvasTransformRef(java.lang.String value)Sets the value of the canvasTransformRef property.voidsetContextRef(java.lang.String value)Sets the value of the contextRef property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetInkSource(InkSourceType value)Sets the value of the inkSource property.voidsetInkSourceRef(java.lang.String value)Sets the value of the inkSourceRef property.voidsetParent(java.lang.Object parent)voidsetTimestamp(TimestampType value)Sets the value of the timestamp property.voidsetTimestampRef(java.lang.String value)Sets the value of the timestampRef property.voidsetTraceFormat(TraceFormatType value)Sets the value of the traceFormat property.voidsetTraceFormatRef(java.lang.String value)Sets the value of the traceFormatRef property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
canvas
-
canvasTransform
-
traceFormat
-
inkSource
-
brush
-
timestamp
-
id
protected java.lang.String id -
contextRef
protected java.lang.String contextRef -
canvasRef
protected java.lang.String canvasRef -
canvasTransformRef
protected java.lang.String canvasTransformRef -
traceFormatRef
protected java.lang.String traceFormatRef -
inkSourceRef
protected java.lang.String inkSourceRef -
brushRef
protected java.lang.String brushRef -
timestampRef
protected java.lang.String timestampRef
-
-
Constructor Details
-
ContextType
public ContextType()
-
-
Method Details
-
getCanvas
Gets the value of the canvas property.- Returns:
- possible object is
CanvasType
-
setCanvas
Sets the value of the canvas property.- Parameters:
value- allowed object isCanvasType
-
getCanvasTransform
Gets the value of the canvasTransform property.- Returns:
- possible object is
CanvasTransformType
-
setCanvasTransform
Sets the value of the canvasTransform property.- Parameters:
value- allowed object isCanvasTransformType
-
getTraceFormat
Gets the value of the traceFormat property.- Returns:
- possible object is
TraceFormatType
-
setTraceFormat
Sets the value of the traceFormat property.- Parameters:
value- allowed object isTraceFormatType
-
getInkSource
Gets the value of the inkSource property.- Returns:
- possible object is
InkSourceType
-
setInkSource
Sets the value of the inkSource property.- Parameters:
value- allowed object isInkSourceType
-
getBrush
Gets the value of the brush property.- Returns:
- possible object is
BrushType
-
setBrush
Sets the value of the brush property.- Parameters:
value- allowed object isBrushType
-
getTimestamp
Gets the value of the timestamp property.- Returns:
- possible object is
TimestampType
-
setTimestamp
Sets the value of the timestamp property.- Parameters:
value- allowed object isTimestampType
-
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
-
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
-
getCanvasRef
public java.lang.String getCanvasRef()Gets the value of the canvasRef property.- Returns:
- possible object is
String
-
setCanvasRef
public void setCanvasRef(java.lang.String value)Sets the value of the canvasRef property.- Parameters:
value- allowed object isString
-
getCanvasTransformRef
public java.lang.String getCanvasTransformRef()Gets the value of the canvasTransformRef property.- Returns:
- possible object is
String
-
setCanvasTransformRef
public void setCanvasTransformRef(java.lang.String value)Sets the value of the canvasTransformRef property.- Parameters:
value- allowed object isString
-
getTraceFormatRef
public java.lang.String getTraceFormatRef()Gets the value of the traceFormatRef property.- Returns:
- possible object is
String
-
setTraceFormatRef
public void setTraceFormatRef(java.lang.String value)Sets the value of the traceFormatRef property.- Parameters:
value- allowed object isString
-
getInkSourceRef
public java.lang.String getInkSourceRef()Gets the value of the inkSourceRef property.- Returns:
- possible object is
String
-
setInkSourceRef
public void setInkSourceRef(java.lang.String value)Sets the value of the inkSourceRef 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
-
getTimestampRef
public java.lang.String getTimestampRef()Gets the value of the timestampRef property.- Returns:
- possible object is
String
-
setTimestampRef
public void setTimestampRef(java.lang.String value)Sets the value of the timestampRef property.- Parameters:
value- allowed object isString
-
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.
-