Class CTValueColorMiddlePosition
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTValueColorMiddlePosition
- All Implemented Interfaces:
Child
public class CTValueColorMiddlePosition extends java.lang.Object implements Child
Java class for CT_ValueColorMiddlePosition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_ValueColorMiddlePosition">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="number" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_NumberColorPosition"/>
<element name="percent" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_PercentageColorPosition"/>
</choice>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTNumberColorPositionnumberprotected CTPercentageColorPositionpercent -
Constructor Summary
Constructors Constructor Description CTValueColorMiddlePosition() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTNumberColorPositiongetNumber()Gets the value of the number property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTPercentageColorPositiongetPercent()Gets the value of the percent property.voidsetNumber(CTNumberColorPosition value)Sets the value of the number property.voidsetParent(java.lang.Object parent)voidsetPercent(CTPercentageColorPosition value)Sets the value of the percent property.
-
Field Details
-
Constructor Details
-
CTValueColorMiddlePosition
public CTValueColorMiddlePosition()
-
-
Method Details
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
CTNumberColorPosition
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isCTNumberColorPosition
-
getPercent
Gets the value of the percent property.- Returns:
- possible object is
CTPercentageColorPosition
-
setPercent
Sets the value of the percent property.- Parameters:
value- allowed object isCTPercentageColorPosition
-
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(javax.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.
-