public class ContextType extends java.lang.Object implements Child
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>
| Modifier and Type | Field and Description |
|---|---|
protected BrushType |
brush |
protected java.lang.String |
brushRef |
protected CanvasType |
canvas |
protected java.lang.String |
canvasRef |
protected CanvasTransformType |
canvasTransform |
protected java.lang.String |
canvasTransformRef |
protected java.lang.String |
contextRef |
protected java.lang.String |
id |
protected InkSourceType |
inkSource |
protected java.lang.String |
inkSourceRef |
protected TimestampType |
timestamp |
protected java.lang.String |
timestampRef |
protected TraceFormatType |
traceFormat |
protected java.lang.String |
traceFormatRef |
| Constructor and Description |
|---|
ContextType() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
BrushType |
getBrush()
Gets the value of the brush property.
|
java.lang.String |
getBrushRef()
Gets the value of the brushRef property.
|
CanvasType |
getCanvas()
Gets the value of the canvas property.
|
java.lang.String |
getCanvasRef()
Gets the value of the canvasRef property.
|
CanvasTransformType |
getCanvasTransform()
Gets the value of the canvasTransform property.
|
java.lang.String |
getCanvasTransformRef()
Gets the value of the canvasTransformRef property.
|
java.lang.String |
getContextRef()
Gets the value of the contextRef property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
InkSourceType |
getInkSource()
Gets the value of the inkSource property.
|
java.lang.String |
getInkSourceRef()
Gets the value of the inkSourceRef property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
TimestampType |
getTimestamp()
Gets the value of the timestamp property.
|
java.lang.String |
getTimestampRef()
Gets the value of the timestampRef property.
|
TraceFormatType |
getTraceFormat()
Gets the value of the traceFormat property.
|
java.lang.String |
getTraceFormatRef()
Gets the value of the traceFormatRef property.
|
void |
setBrush(BrushType value)
Sets the value of the brush property.
|
void |
setBrushRef(java.lang.String value)
Sets the value of the brushRef property.
|
void |
setCanvas(CanvasType value)
Sets the value of the canvas property.
|
void |
setCanvasRef(java.lang.String value)
Sets the value of the canvasRef property.
|
void |
setCanvasTransform(CanvasTransformType value)
Sets the value of the canvasTransform property.
|
void |
setCanvasTransformRef(java.lang.String value)
Sets the value of the canvasTransformRef property.
|
void |
setContextRef(java.lang.String value)
Sets the value of the contextRef property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setInkSource(InkSourceType value)
Sets the value of the inkSource property.
|
void |
setInkSourceRef(java.lang.String value)
Sets the value of the inkSourceRef property.
|
void |
setParent(java.lang.Object parent) |
void |
setTimestamp(TimestampType value)
Sets the value of the timestamp property.
|
void |
setTimestampRef(java.lang.String value)
Sets the value of the timestampRef property.
|
void |
setTraceFormat(TraceFormatType value)
Sets the value of the traceFormat property.
|
void |
setTraceFormatRef(java.lang.String value)
Sets the value of the traceFormatRef property.
|
protected CanvasType canvas
protected CanvasTransformType canvasTransform
protected TraceFormatType traceFormat
protected InkSourceType inkSource
protected BrushType brush
protected TimestampType timestamp
protected java.lang.String id
protected java.lang.String contextRef
protected java.lang.String canvasRef
protected java.lang.String canvasTransformRef
protected java.lang.String traceFormatRef
protected java.lang.String inkSourceRef
protected java.lang.String brushRef
protected java.lang.String timestampRef
public CanvasType getCanvas()
CanvasTypepublic void setCanvas(CanvasType value)
value - allowed object is
CanvasTypepublic CanvasTransformType getCanvasTransform()
CanvasTransformTypepublic void setCanvasTransform(CanvasTransformType value)
value - allowed object is
CanvasTransformTypepublic TraceFormatType getTraceFormat()
TraceFormatTypepublic void setTraceFormat(TraceFormatType value)
value - allowed object is
TraceFormatTypepublic InkSourceType getInkSource()
InkSourceTypepublic void setInkSource(InkSourceType value)
value - allowed object is
InkSourceTypepublic BrushType getBrush()
BrushTypepublic void setBrush(BrushType value)
value - allowed object is
BrushTypepublic TimestampType getTimestamp()
TimestampTypepublic void setTimestamp(TimestampType value)
value - allowed object is
TimestampTypepublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getContextRef()
Stringpublic void setContextRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCanvasRef()
Stringpublic void setCanvasRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCanvasTransformRef()
Stringpublic void setCanvasTransformRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTraceFormatRef()
Stringpublic void setTraceFormatRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getInkSourceRef()
Stringpublic void setInkSourceRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBrushRef()
Stringpublic void setBrushRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTimestampRef()
Stringpublic void setTimestampRef(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2025. All rights reserved.