Class SourcePropertyType

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

public class SourcePropertyType
extends java.lang.Object
implements Child
http://www.w3.org/TR/InkML/#srcProperty

Java class for sourceProperty.type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="sourceProperty.type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
       <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 name  
    protected java.lang.String units  
    protected java.math.BigDecimal value  
  • Constructor Summary

    Constructors
    Constructor Description
    SourcePropertyType()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getUnits()
    Gets the value of the units property.
    java.math.BigDecimal getValue()
    Gets the value of the value property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setUnits​(java.lang.String value)
    Sets the value of the units property.
    void setValue​(java.math.BigDecimal value)
    Sets the value of the value property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      protected java.lang.String name
    • value

      protected java.math.BigDecimal value
    • units

      protected java.lang.String units
  • Constructor Details

    • SourcePropertyType

      public SourcePropertyType()
  • Method Details

    • 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 is String
    • getValue

      public java.math.BigDecimal getValue()
      Gets the value of the value property.
      Returns:
      possible object is BigDecimal
    • setValue

      public void setValue​(java.math.BigDecimal value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is BigDecimal
    • 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 is String
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.