Package org.docx4j.org.w3.x2003.inkML
Class CanvasType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.CanvasType
- All Implemented Interfaces:
Child
public class CanvasType extends java.lang.Object implements Child
http://www.w3.org/TR/InkML/#canvasElement
Java class for canvas.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="canvas.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="traceFormatRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringidprotected TraceFormatTypetraceFormatprotected java.lang.StringtraceFormatRef -
Constructor Summary
Constructors Constructor Description CanvasType() -
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.StringgetId()Gets the value of the id property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.TraceFormatTypegetTraceFormat()Gets the value of the traceFormat property.java.lang.StringgetTraceFormatRef()Gets the value of the traceFormatRef property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetParent(java.lang.Object parent)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
-
traceFormat
-
id
protected java.lang.String id -
traceFormatRef
protected java.lang.String traceFormatRef
-
-
Constructor Details
-
CanvasType
public CanvasType()
-
-
Method Details
-
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
-
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
-
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
-
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.
-