com.microsoft.schemas.vml.impl.CTFormulasImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apache-poi-ooxml Show documentation
Show all versions of apache-poi-ooxml Show documentation
The Apache Commons Codec package contains simple encoder and decoders for
various formats such as Base64 and Hexadecimal. In addition to these
widely used encoders and decoders, the codec package also maintains a
collection of phonetic encoding utilities.
/*
* XML Type: CT_Formulas
* Namespace: urn:schemas-microsoft-com:vml
* Java type: com.microsoft.schemas.vml.CTFormulas
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.vml.impl;
/**
* An XML CT_Formulas(@urn:schemas-microsoft-com:vml).
*
* This is a complex type.
*/
public class CTFormulasImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.vml.CTFormulas {
private static final long serialVersionUID = 1L;
public CTFormulasImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName F$0 =
new javax.xml.namespace.QName("urn:schemas-microsoft-com:vml", "f");
/**
* Gets a List of "f" elements
*/
public java.util.List getFList() {
final class FList extends java.util.AbstractList {
@Override
public com.microsoft.schemas.vml.CTF get(int i)
{ return CTFormulasImpl.this.getFArray(i); }
@Override
public com.microsoft.schemas.vml.CTF set(int i, com.microsoft.schemas.vml.CTF o) {
com.microsoft.schemas.vml.CTF old = CTFormulasImpl.this.getFArray(i);
CTFormulasImpl.this.setFArray(i, o);
return old;
}
@Override
public void add(int i, com.microsoft.schemas.vml.CTF o)
{ CTFormulasImpl.this.insertNewF(i).set(o); }
@Override
public com.microsoft.schemas.vml.CTF remove(int i) {
com.microsoft.schemas.vml.CTF old = CTFormulasImpl.this.getFArray(i);
CTFormulasImpl.this.removeF(i);
return old;
}
@Override
public int size()
{ return CTFormulasImpl.this.sizeOfFArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new FList();
}
}
/**
* Gets array of all "f" elements
*/
public com.microsoft.schemas.vml.CTF[] getFArray() {
return getXmlObjectArray(F$0, new com.microsoft.schemas.vml.CTF[0]);
}
/**
* Gets ith "f" element
*/
public com.microsoft.schemas.vml.CTF getFArray(int i) {
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTF target = null;
target = (com.microsoft.schemas.vml.CTF)get_store().find_element_user(F$0, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "f" element
*/
public int sizeOfFArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(F$0);
}
}
/**
* Sets array of all "f" element WARNING: This method is not atomicaly synchronized.
*/
public void setFArray(com.microsoft.schemas.vml.CTF[] fArray) {
check_orphaned();
arraySetterHelper(fArray, F$0);
}
/**
* Sets ith "f" element
*/
public void setFArray(int i, com.microsoft.schemas.vml.CTF f) {
generatedSetterHelperImpl(f, F$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "f" element
*/
public com.microsoft.schemas.vml.CTF insertNewF(int i) {
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTF target = null;
target = (com.microsoft.schemas.vml.CTF)get_store().insert_element_user(F$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "f" element
*/
public com.microsoft.schemas.vml.CTF addNewF() {
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.vml.CTF target = null;
target = (com.microsoft.schemas.vml.CTF)get_store().add_element_user(F$0);
return target;
}
}
/**
* Removes the ith "f" element
*/
public void removeF(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(F$0, i);
}
}
}