Package org.docx4j.org.w3.x2003.inkML
Class ChannelType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.ChannelType
- All Implemented Interfaces:
Child
public class ChannelType extends java.lang.Object implements 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
Fields Modifier and Type Field Description protected java.lang.String_defaultprotected java.lang.Stringidprotected MappingTypemappingprotected java.math.BigDecimalmaxprotected java.math.BigDecimalminprotected java.lang.Stringnameprotected java.lang.Stringorientationprotected java.lang.StringrespectToprotected java.lang.Stringtypeprotected java.lang.Stringunits -
Constructor Summary
Constructors Constructor Description ChannelType() -
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.StringgetDefault()Gets the value of the default property.java.lang.StringgetId()Gets the value of the id property.MappingTypegetMapping()Gets the value of the mapping property.java.math.BigDecimalgetMax()Gets the value of the max property.java.math.BigDecimalgetMin()Gets the value of the min property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetOrientation()Gets the value of the orientation property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRespectTo()Gets the value of the respectTo property.java.lang.StringgetType()Gets the value of the type property.java.lang.StringgetUnits()Gets the value of the units property.voidsetDefault(java.lang.String value)Sets the value of the default property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetMapping(MappingType value)Sets the value of the mapping property.voidsetMax(java.math.BigDecimal value)Sets the value of the max property.voidsetMin(java.math.BigDecimal value)Sets the value of the min property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetOrientation(java.lang.String value)Sets the value of the orientation property.voidsetParent(java.lang.Object parent)voidsetRespectTo(java.lang.String value)Sets the value of the respectTo property.voidsetType(java.lang.String value)Sets the value of the type property.voidsetUnits(java.lang.String value)Sets the value of the units property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
mapping
-
id
protected java.lang.String id -
name
protected java.lang.String name -
type
protected java.lang.String type -
_default
protected java.lang.String _default -
min
protected java.math.BigDecimal min -
max
protected java.math.BigDecimal max -
orientation
protected java.lang.String orientation -
respectTo
protected java.lang.String respectTo -
units
protected java.lang.String 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
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
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
public java.lang.String getType()Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)Sets the value of the type property.- Parameters:
value- allowed object isString
-
getDefault
public java.lang.String getDefault()Gets the value of the default property.- Returns:
- possible object is
String
-
setDefault
public void setDefault(java.lang.String value)Sets the value of the default property.- Parameters:
value- allowed object isString
-
getMin
public java.math.BigDecimal getMin()Gets the value of the min property.- Returns:
- possible object is
BigDecimal
-
setMin
public void setMin(java.math.BigDecimal value)Sets the value of the min property.- Parameters:
value- allowed object isBigDecimal
-
getMax
public java.math.BigDecimal getMax()Gets the value of the max property.- Returns:
- possible object is
BigDecimal
-
setMax
public void setMax(java.math.BigDecimal value)Sets the value of the max property.- Parameters:
value- allowed object isBigDecimal
-
getOrientation
public java.lang.String getOrientation()Gets the value of the orientation property.- Returns:
- possible object is
String
-
setOrientation
public void setOrientation(java.lang.String value)Sets the value of the orientation property.- Parameters:
value- allowed object isString
-
getRespectTo
public java.lang.String getRespectTo()Gets the value of the respectTo property.- Returns:
- possible object is
String
-
setRespectTo
public void setRespectTo(java.lang.String value)Sets the value of the respectTo property.- Parameters:
value- allowed object isString
-
getUnits
public java.lang.String getUnits()Gets the value of the units property.- Returns:
- possible object is
String
-
setUnits
public void setUnits(java.lang.String value)Sets the value of the units 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.
-