Package org.docx4j.org.w3.x2003.inkML
Class DefinitionsType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.DefinitionsType
- All Implemented Interfaces:
Child
public class DefinitionsType extends java.lang.Object implements Child
http://www.w3.org/TR/InkML/#definitionsElement
Java class for definitions.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="definitions.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element name="brush" type="{http://www.w3.org/2003/InkML}brush.type"/>
<element name="canvas" type="{http://www.w3.org/2003/InkML}canvas.type"/>
<element name="canvasTransform" type="{http://www.w3.org/2003/InkML}canvasTransform.type"/>
<element name="context" type="{http://www.w3.org/2003/InkML}context.type"/>
<element name="inkSource" type="{http://www.w3.org/2003/InkML}inkSource.type"/>
<element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type"/>
<element name="timestamp" type="{http://www.w3.org/2003/InkML}timestamp.type"/>
<element name="trace" type="{http://www.w3.org/2003/InkML}trace.type"/>
<element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type"/>
<element name="traceGroup" type="{http://www.w3.org/2003/InkML}traceGroup.type"/>
<element name="traceView" type="{http://www.w3.org/2003/InkML}traceView.type"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>brushOrCanvasOrCanvasTransform -
Constructor Summary
Constructors Constructor Description DefinitionsType() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.util.List<java.lang.Object>getBrushOrCanvasOrCanvasTransform()Gets the value of the brushOrCanvasOrCanvasTransform property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.voidsetParent(java.lang.Object parent)
-
Field Details
-
brushOrCanvasOrCanvasTransform
protected java.util.List<java.lang.Object> brushOrCanvasOrCanvasTransform
-
-
Constructor Details
-
DefinitionsType
public DefinitionsType()
-
-
Method Details
-
getBrushOrCanvasOrCanvasTransform
public java.util.List<java.lang.Object> getBrushOrCanvasOrCanvasTransform()Gets the value of the brushOrCanvasOrCanvasTransform property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the brushOrCanvasOrCanvasTransform property.For example, to add a new item, do as follows:
getBrushOrCanvasOrCanvasTransform().add(newItem);Objects of the following type(s) are allowed in the list
BrushTypeCanvasTypeCanvasTransformTypeContextTypeInkSourceTypeMappingTypeTimestampTypeTraceTypeTraceFormatTypeTraceGroupTypeTraceViewType -
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(javax.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.
-