Package org.docx4j.org.w3.x2003.inkML
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
-
Constructor Summary
Constructors Constructor Description SourcePropertyType() -
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.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetUnits()Gets the value of the units property.java.math.BigDecimalgetValue()Gets the value of the value property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetUnits(java.lang.String value)Sets the value of the units property.voidsetValue(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 isString
-
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 isBigDecimal
-
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.
-