Class InkSourceType

java.lang.Object
org.docx4j.org.w3.x2003.inkML.InkSourceType
All Implemented Interfaces:
Child

public class InkSourceType extends 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 Details

  • Constructor Details

    • InkSourceType

      public InkSourceType()
  • Method Details

    • getTraceFormat

      public TraceFormatType getTraceFormat()
      Gets the value of the traceFormat property.
      Returns:
      possible object is TraceFormatType
    • setTraceFormat

      public void setTraceFormat(TraceFormatType value)
      Sets the value of the traceFormat property.
      Parameters:
      value - allowed object is TraceFormatType
    • getSampleRate

      public SampleRateType getSampleRate()
      Gets the value of the sampleRate property.
      Returns:
      possible object is SampleRateType
    • setSampleRate

      public void setSampleRate(SampleRateType value)
      Sets the value of the sampleRate property.
      Parameters:
      value - allowed object is SampleRateType
    • getLatency

      public LatencyType getLatency()
      Gets the value of the latency property.
      Returns:
      possible object is LatencyType
    • setLatency

      public void setLatency(LatencyType value)
      Sets the value of the latency property.
      Parameters:
      value - allowed object is LatencyType
    • getActiveArea

      public ActiveAreaType getActiveArea()
      Gets the value of the activeArea property.
      Returns:
      possible object is ActiveAreaType
    • setActiveArea

      public void setActiveArea(ActiveAreaType value)
      Sets the value of the activeArea property.
      Parameters:
      value - allowed object is ActiveAreaType
    • getSourceProperty

      public List<SourcePropertyType> 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 set method 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

      public ChannelPropertiesType getChannelProperties()
      Gets the value of the channelProperties property.
      Returns:
      possible object is ChannelPropertiesType
    • setChannelProperties

      public void setChannelProperties(ChannelPropertiesType value)
      Sets the value of the channelProperties property.
      Parameters:
      value - allowed object is ChannelPropertiesType
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getManufacturer

      public String getManufacturer()
      Gets the value of the manufacturer property.
      Returns:
      possible object is String
    • setManufacturer

      public void setManufacturer(String value)
      Sets the value of the manufacturer property.
      Parameters:
      value - allowed object is String
    • getModel

      public String getModel()
      Gets the value of the model property.
      Returns:
      possible object is String
    • setModel

      public void setModel(String value)
      Sets the value of the model property.
      Parameters:
      value - allowed object is String
    • getSerialNo

      public String getSerialNo()
      Gets the value of the serialNo property.
      Returns:
      possible object is String
    • setSerialNo

      public void setSerialNo(String value)
      Sets the value of the serialNo property.
      Parameters:
      value - allowed object is String
    • getSpecificationRef

      public String getSpecificationRef()
      Gets the value of the specificationRef property.
      Returns:
      possible object is String
    • setSpecificationRef

      public void setSpecificationRef(String value)
      Sets the value of the specificationRef property.
      Parameters:
      value - allowed object is String
    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.