Package org.docx4j.org.w3.x2003.inkML
Class InkSourceType
java.lang.Object
org.docx4j.org.w3.x2003.inkML.InkSourceType
- All Implemented Interfaces:
Child
public class InkSourceType extends java.lang.Object implements Child
http://www.w3.org/TR/InkML/#inkSourceElement
Java class for inkSource.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="inkSource.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="traceFormat" type="{http://www.w3.org/2003/InkML}traceFormat.type"/>
<element name="sampleRate" type="{http://www.w3.org/2003/InkML}sampleRate.type" minOccurs="0"/>
<element name="latency" type="{http://www.w3.org/2003/InkML}latency.type" minOccurs="0"/>
<element name="activeArea" type="{http://www.w3.org/2003/InkML}activeArea.type" minOccurs="0"/>
<element name="sourceProperty" type="{http://www.w3.org/2003/InkML}sourceProperty.type" maxOccurs="unbounded" minOccurs="0"/>
<element name="channelProperties" type="{http://www.w3.org/2003/InkML}channelProperties.type" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/XML/1998/namespace}id use="required""/>
<attribute name="manufacturer" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="model" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="serialNo" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="specificationRef" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected ActiveAreaTypeactiveAreaprotected ChannelPropertiesTypechannelPropertiesprotected java.lang.Stringdescriptionprotected java.lang.Stringidprotected LatencyTypelatencyprotected java.lang.Stringmanufacturerprotected java.lang.Stringmodelprotected SampleRateTypesampleRateprotected java.lang.StringserialNoprotected java.util.List<SourcePropertyType>sourcePropertyprotected java.lang.StringspecificationRefprotected TraceFormatTypetraceFormat -
Constructor Summary
Constructors Constructor Description InkSourceType() -
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.ActiveAreaTypegetActiveArea()Gets the value of the activeArea property.ChannelPropertiesTypegetChannelProperties()Gets the value of the channelProperties property.java.lang.StringgetDescription()Gets the value of the description property.java.lang.StringgetId()Gets the value of the id property.LatencyTypegetLatency()Gets the value of the latency property.java.lang.StringgetManufacturer()Gets the value of the manufacturer property.java.lang.StringgetModel()Gets the value of the model property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.SampleRateTypegetSampleRate()Gets the value of the sampleRate property.java.lang.StringgetSerialNo()Gets the value of the serialNo property.java.util.List<SourcePropertyType>getSourceProperty()Gets the value of the sourceProperty property.java.lang.StringgetSpecificationRef()Gets the value of the specificationRef property.TraceFormatTypegetTraceFormat()Gets the value of the traceFormat property.voidsetActiveArea(ActiveAreaType value)Sets the value of the activeArea property.voidsetChannelProperties(ChannelPropertiesType value)Sets the value of the channelProperties property.voidsetDescription(java.lang.String value)Sets the value of the description property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetLatency(LatencyType value)Sets the value of the latency property.voidsetManufacturer(java.lang.String value)Sets the value of the manufacturer property.voidsetModel(java.lang.String value)Sets the value of the model property.voidsetParent(java.lang.Object parent)voidsetSampleRate(SampleRateType value)Sets the value of the sampleRate property.voidsetSerialNo(java.lang.String value)Sets the value of the serialNo property.voidsetSpecificationRef(java.lang.String value)Sets the value of the specificationRef property.voidsetTraceFormat(TraceFormatType value)Sets the value of the traceFormat property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
traceFormat
-
sampleRate
-
latency
-
activeArea
-
sourceProperty
-
channelProperties
-
id
protected java.lang.String id -
manufacturer
protected java.lang.String manufacturer -
model
protected java.lang.String model -
serialNo
protected java.lang.String serialNo -
specificationRef
protected java.lang.String specificationRef -
description
protected java.lang.String description
-
-
Constructor Details
-
InkSourceType
public InkSourceType()
-
-
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
-
getSampleRate
Gets the value of the sampleRate property.- Returns:
- possible object is
SampleRateType
-
setSampleRate
Sets the value of the sampleRate property.- Parameters:
value- allowed object isSampleRateType
-
getLatency
Gets the value of the latency property.- Returns:
- possible object is
LatencyType
-
setLatency
Sets the value of the latency property.- Parameters:
value- allowed object isLatencyType
-
getActiveArea
Gets the value of the activeArea property.- Returns:
- possible object is
ActiveAreaType
-
setActiveArea
Sets the value of the activeArea property.- Parameters:
value- allowed object isActiveAreaType
-
getSourceProperty
Gets the value of the sourceProperty 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 sourceProperty property.For example, to add a new item, do as follows:
getSourceProperty().add(newItem);Objects of the following type(s) are allowed in the list
SourcePropertyType -
getChannelProperties
Gets the value of the channelProperties property.- Returns:
- possible object is
ChannelPropertiesType
-
setChannelProperties
Sets the value of the channelProperties property.- Parameters:
value- allowed object isChannelPropertiesType
-
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
-
getManufacturer
public java.lang.String getManufacturer()Gets the value of the manufacturer property.- Returns:
- possible object is
String
-
setManufacturer
public void setManufacturer(java.lang.String value)Sets the value of the manufacturer property.- Parameters:
value- allowed object isString
-
getModel
public java.lang.String getModel()Gets the value of the model property.- Returns:
- possible object is
String
-
setModel
public void setModel(java.lang.String value)Sets the value of the model property.- Parameters:
value- allowed object isString
-
getSerialNo
public java.lang.String getSerialNo()Gets the value of the serialNo property.- Returns:
- possible object is
String
-
setSerialNo
public void setSerialNo(java.lang.String value)Sets the value of the serialNo property.- Parameters:
value- allowed object isString
-
getSpecificationRef
public java.lang.String getSpecificationRef()Gets the value of the specificationRef property.- Returns:
- possible object is
String
-
setSpecificationRef
public void setSpecificationRef(java.lang.String value)Sets the value of the specificationRef property.- Parameters:
value- allowed object isString
-
getDescription
public java.lang.String getDescription()Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(java.lang.String value)Sets the value of the description 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.
-