org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_Choose
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/diagram
* Java type: org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.diagram;
/**
* An XML CT_Choose(@http://schemas.openxmlformats.org/drawingml/2006/diagram).
*
* This is a complex type.
*/
public interface CTChoose extends org.apache.xmlbeans.XmlObject
{
org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
Factory.getTypeLoader().resolveHandle("ctchoose5b3atype");
/**
* Gets a List of "if" elements
*/
java.util.List getIfList();
/**
* Gets array of all "if" elements
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen[] getIfArray();
/**
* Gets ith "if" element
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen getIfArray(int i);
/**
* Returns number of "if" element
*/
int sizeOfIfArray();
/**
* Sets array of all "if" element
*/
void setIfArray(org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen[] xifArray);
/**
* Sets ith "if" element
*/
void setIfArray(int i, org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen xif);
/**
* Inserts and returns a new empty value (as xml) as the ith "if" element
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen insertNewIf(int i);
/**
* Appends and returns a new empty value (as xml) as the last "if" element
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTWhen addNewIf();
/**
* Removes the ith "if" element
*/
void removeIf(int i);
/**
* Gets the "else" element
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTOtherwise getElse();
/**
* True if has "else" element
*/
boolean isSetElse();
/**
* Sets the "else" element
*/
void setElse(org.openxmlformats.schemas.drawingml.x2006.diagram.CTOtherwise xelse);
/**
* Appends and returns a new empty "else" element
*/
org.openxmlformats.schemas.drawingml.x2006.diagram.CTOtherwise addNewElse();
/**
* Unsets the "else" element
*/
void unsetElse();
/**
* Gets the "name" attribute
*/
java.lang.String getName();
/**
* Gets (as xml) the "name" attribute
*/
org.apache.xmlbeans.XmlString xgetName();
/**
* True if has "name" attribute
*/
boolean isSetName();
/**
* Sets the "name" attribute
*/
void setName(java.lang.String name);
/**
* Sets (as xml) the "name" attribute
*/
void xsetName(org.apache.xmlbeans.XmlString name);
/**
* Unsets the "name" attribute
*/
void unsetName();
/**
* A factory class with static methods for creating instances
* of this type.
*/
final class Factory
{
private static synchronized org.apache.poi.schemas.ooxml.system.ooxml.TypeSystemHolder getTypeLoader() {
return org.apache.poi.schemas.ooxml.system.ooxml.TypeSystemHolder.typeSystem;
}
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose newInstance() {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().newInstance( type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( xmlAsString, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( file, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( file, type, options ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( u, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( u, type, options ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( is, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( is, type, options ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( r, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( r, type, options ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( sr, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( sr, type, options ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( node, type, null ); }
public static org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.drawingml.x2006.diagram.CTChoose) getTypeLoader().parse( node, type, options ); }
private Factory() { } // No instance of this class allowed
}
}