public class CanvasTransformType extends Object implements Child
Java class for canvasTransform.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="canvasTransform.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type"/>
<element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="invertible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<MappingType>> |
content |
protected String |
id |
protected Boolean |
invertible |
| Constructor and Description |
|---|
CanvasTransformType() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
List<JAXBElement<MappingType>> |
getContent()
Gets the rest of the content model.
|
String |
getId()
Gets the value of the id property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
boolean |
isInvertible()
Gets the value of the invertible property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setInvertible(Boolean value)
Sets the value of the invertible property.
|
void |
setParent(Object parent) |
protected List<JAXBElement<MappingType>> content
protected String id
protected Boolean invertible
public List<JAXBElement<MappingType>> getContent()
You are getting this "catch-all" property because of the following reason: The field name "Mapping" is used by two different parts of a schema. See: line 600 of file:/bvols/@git/repos/docx4j/xsd/odrawxml/inkml.xsd line 599 of file:/bvols/@git/repos/docx4j/xsd/odrawxml/inkml.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<MappingType>
public void setId(String value)
value - allowed object is
Stringpublic boolean isInvertible()
Booleanpublic void setInvertible(Boolean value)
value - allowed object is
Booleanpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2021. All Rights Reserved.