Class CTStringLevel
java.lang.Object
org.docx4j.com.microsoft.schemas.office.drawing.x2014.chartex.CTStringLevel
- All Implemented Interfaces:
Child
public class CTStringLevel extends java.lang.Object implements Child
Java class for CT_StringLevel complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_StringLevel">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pt" type="{http://schemas.microsoft.com/office/drawing/2014/chartex}CT_StringValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ptCount" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringnameprotected java.util.List<CTStringValue>ptprotected longptCount -
Constructor Summary
Constructors Constructor Description CTStringLevel() -
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.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.util.List<CTStringValue>getPt()Gets the value of the pt property.longgetPtCount()Gets the value of the ptCount property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetPtCount(long value)Sets the value of the ptCount property.
-
Field Details
-
Constructor Details
-
CTStringLevel
public CTStringLevel()
-
-
Method Details
-
getPt
Gets the value of the pt 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 pt property.For example, to add a new item, do as follows:
getPt().add(newItem);Objects of the following type(s) are allowed in the list
CTStringValue -
getPtCount
public long getPtCount()Gets the value of the ptCount property. -
setPtCount
public void setPtCount(long value)Sets the value of the ptCount property. -
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
-
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.
-