Package org.docx4j.org.w3.x2003.inkML
Class ChannelType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.ChannelType
- All Implemented Interfaces:
Child
http://www.w3.org/TR/InkML/#channel
Java class for channel.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="channel.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="mapping" type="{http://www.w3.org/2003/InkML}mapping.type" minOccurs="0"/>
</all>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
<attribute name="name" use="required" type="{http://www.w3.org/2003/InkML}channelName.type" />
<attribute name="type" default="decimal">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="integer"/>
<enumeration value="decimal"/>
<enumeration value="double"/>
<enumeration value="boolean"/>
</restriction>
</simpleType>
</attribute>
<attribute name="default" default="0">
<simpleType>
<union memberTypes=" {http://www.w3.org/2001/XMLSchema}decimal {http://www.w3.org/2003/InkML}booleanStr.type">
</union>
</simpleType>
</attribute>
<attribute name="min" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="max" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="orientation" default="+ve">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="+ve"/>
<enumeration value="-ve"/>
</restriction>
</simpleType>
</attribute>
<attribute name="respectTo" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="units" type="{http://www.w3.org/2003/InkML}units.type" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected MappingTypeprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the default property.getId()Gets the value of the id property.Gets the value of the mapping property.getMax()Gets the value of the max property.getMin()Gets the value of the min property.getName()Gets the value of the name property.Gets the value of the orientation property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the respectTo property.getType()Gets the value of the type property.getUnits()Gets the value of the units property.voidsetDefault(String value) Sets the value of the default property.voidSets the value of the id property.voidsetMapping(MappingType value) Sets the value of the mapping property.voidsetMax(BigDecimal value) Sets the value of the max property.voidsetMin(BigDecimal value) Sets the value of the min property.voidSets the value of the name property.voidsetOrientation(String value) Sets the value of the orientation property.voidvoidsetRespectTo(String value) Sets the value of the respectTo property.voidSets the value of the type property.voidSets the value of the units property.
-
Field Details
-
mapping
-
id
-
name
-
type
-
_default
-
min
-
max
-
orientation
-
respectTo
-
units
-
-
Constructor Details
-
ChannelType
public ChannelType()
-
-
Method Details
-
getMapping
Gets the value of the mapping property.- Returns:
- possible object is
MappingType
-
setMapping
Sets the value of the mapping property.- Parameters:
value- allowed object isMappingType
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getDefault
Gets the value of the default property.- Returns:
- possible object is
String
-
setDefault
Sets the value of the default property.- Parameters:
value- allowed object isString
-
getMin
Gets the value of the min property.- Returns:
- possible object is
BigDecimal
-
setMin
Sets the value of the min property.- Parameters:
value- allowed object isBigDecimal
-
getMax
Gets the value of the max property.- Returns:
- possible object is
BigDecimal
-
setMax
Sets the value of the max property.- Parameters:
value- allowed object isBigDecimal
-
getOrientation
Gets the value of the orientation property.- Returns:
- possible object is
String
-
setOrientation
Sets the value of the orientation property.- Parameters:
value- allowed object isString
-
getRespectTo
Gets the value of the respectTo property.- Returns:
- possible object is
String
-
setRespectTo
Sets the value of the respectTo property.- Parameters:
value- allowed object isString
-
getUnits
Gets the value of the units property.- Returns:
- possible object is
String
-
setUnits
Sets the value of the units property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-