org.xlsx4j.schemas.microsoft.com.office.excel_2008_2.main.CTDefinedNameArgumentDescription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
package org.xlsx4j.schemas.microsoft.com.office.excel_2008_2.main;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import org.jvnet.jaxb2_commons.ppp.Child;
/**
* Java class for CT_DefinedNameArgumentDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CT_DefinedNameArgumentDescription">
* <simpleContent>
* <extension base="<http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes>ST_Xstring">
* <attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_DefinedNameArgumentDescription", propOrder = {
"value"
})
public class CTDefinedNameArgumentDescription implements Child
{
@XmlValue
protected String value;
@XmlAttribute(name = "index", required = true)
@XmlSchemaType(name = "unsignedInt")
protected long index;
@XmlTransient
private Object parent;
/**
* Escaped String
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the index property.
*
*/
public long getIndex() {
return index;
}
/**
* Sets the value of the index property.
*
*/
public void setIndex(long value) {
this.index = value;
}
/**
* Gets the parent object in the object tree representing the unmarshalled xml document.
*
* @return
* The parent object.
*/
public Object getParent() {
return this.parent;
}
public void setParent(Object parent) {
this.parent = parent;
}
/**
* This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
*
* @param parent
* The parent object in the object tree.
* @param unmarshaller
* The unmarshaller that generated the instance.
*/
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
setParent(parent);
}
}