org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* XML Type: ST_SlideSizeType
* Namespace: http://schemas.openxmlformats.org/presentationml/2006/main
* Java type: org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.presentationml.x2006.main;
/**
* An XML ST_SlideSizeType(@http://schemas.openxmlformats.org/presentationml/2006/main).
*
* This is an atomic type that is a restriction of org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType.
*/
public interface STSlideSizeType extends org.apache.xmlbeans.XmlToken
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(STSlideSizeType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443").resolveHandle("stslidesizetypeb7f3type");
org.apache.xmlbeans.StringEnumAbstractBase enumValue();
void set(org.apache.xmlbeans.StringEnumAbstractBase e);
static final Enum SCREEN_4_X_3 = Enum.forString("screen4x3");
static final Enum LETTER = Enum.forString("letter");
static final Enum A_4 = Enum.forString("A4");
static final Enum X_35_MM = Enum.forString("35mm");
static final Enum OVERHEAD = Enum.forString("overhead");
static final Enum BANNER = Enum.forString("banner");
static final Enum CUSTOM = Enum.forString("custom");
static final Enum LEDGER = Enum.forString("ledger");
static final Enum A_3 = Enum.forString("A3");
static final Enum B_4_ISO = Enum.forString("B4ISO");
static final Enum B_5_ISO = Enum.forString("B5ISO");
static final Enum B_4_JIS = Enum.forString("B4JIS");
static final Enum B_5_JIS = Enum.forString("B5JIS");
static final Enum HAGAKI_CARD = Enum.forString("hagakiCard");
static final Enum SCREEN_16_X_9 = Enum.forString("screen16x9");
static final Enum SCREEN_16_X_10 = Enum.forString("screen16x10");
static final int INT_SCREEN_4_X_3 = Enum.INT_SCREEN_4_X_3;
static final int INT_LETTER = Enum.INT_LETTER;
static final int INT_A_4 = Enum.INT_A_4;
static final int INT_X_35_MM = Enum.INT_X_35_MM;
static final int INT_OVERHEAD = Enum.INT_OVERHEAD;
static final int INT_BANNER = Enum.INT_BANNER;
static final int INT_CUSTOM = Enum.INT_CUSTOM;
static final int INT_LEDGER = Enum.INT_LEDGER;
static final int INT_A_3 = Enum.INT_A_3;
static final int INT_B_4_ISO = Enum.INT_B_4_ISO;
static final int INT_B_5_ISO = Enum.INT_B_5_ISO;
static final int INT_B_4_JIS = Enum.INT_B_4_JIS;
static final int INT_B_5_JIS = Enum.INT_B_5_JIS;
static final int INT_HAGAKI_CARD = Enum.INT_HAGAKI_CARD;
static final int INT_SCREEN_16_X_9 = Enum.INT_SCREEN_16_X_9;
static final int INT_SCREEN_16_X_10 = Enum.INT_SCREEN_16_X_10;
/**
* Enumeration value class for org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType.
* These enum values can be used as follows:
*
* enum.toString(); // returns the string value of the enum
* enum.intValue(); // returns an int value, useful for switches
* // e.g., case Enum.INT_SCREEN_4_X_3
* Enum.forString(s); // returns the enum value for a string
* Enum.forInt(i); // returns the enum value for an int
*
* Enumeration objects are immutable singleton objects that
* can be compared using == object equality. They have no
* public constructor. See the constants defined within this
* class for all the valid values.
*/
static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
{
/**
* Returns the enum value for a string, or null if none.
*/
public static Enum forString(java.lang.String s)
{ return (Enum)table.forString(s); }
/**
* Returns the enum value corresponding to an int, or null if none.
*/
public static Enum forInt(int i)
{ return (Enum)table.forInt(i); }
private Enum(java.lang.String s, int i)
{ super(s, i); }
static final int INT_SCREEN_4_X_3 = 1;
static final int INT_LETTER = 2;
static final int INT_A_4 = 3;
static final int INT_X_35_MM = 4;
static final int INT_OVERHEAD = 5;
static final int INT_BANNER = 6;
static final int INT_CUSTOM = 7;
static final int INT_LEDGER = 8;
static final int INT_A_3 = 9;
static final int INT_B_4_ISO = 10;
static final int INT_B_5_ISO = 11;
static final int INT_B_4_JIS = 12;
static final int INT_B_5_JIS = 13;
static final int INT_HAGAKI_CARD = 14;
static final int INT_SCREEN_16_X_9 = 15;
static final int INT_SCREEN_16_X_10 = 16;
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
new org.apache.xmlbeans.StringEnumAbstractBase.Table
(
new Enum[]
{
new Enum("screen4x3", INT_SCREEN_4_X_3),
new Enum("letter", INT_LETTER),
new Enum("A4", INT_A_4),
new Enum("35mm", INT_X_35_MM),
new Enum("overhead", INT_OVERHEAD),
new Enum("banner", INT_BANNER),
new Enum("custom", INT_CUSTOM),
new Enum("ledger", INT_LEDGER),
new Enum("A3", INT_A_3),
new Enum("B4ISO", INT_B_4_ISO),
new Enum("B5ISO", INT_B_5_ISO),
new Enum("B4JIS", INT_B_4_JIS),
new Enum("B5JIS", INT_B_5_JIS),
new Enum("hagakiCard", INT_HAGAKI_CARD),
new Enum("screen16x9", INT_SCREEN_16_X_9),
new Enum("screen16x10", INT_SCREEN_16_X_10),
}
);
private static final long serialVersionUID = 1L;
private java.lang.Object readResolve() { return forInt(intValue()); }
}
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType newValue(java.lang.Object obj) {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) type.newValue( obj ); }
private static java.lang.ref.SoftReference typeLoader;
private static synchronized org.apache.xmlbeans.SchemaTypeLoader getTypeLoader() {
org.apache.xmlbeans.SchemaTypeLoader stl = (typeLoader == null) ? null : typeLoader.get();
if (stl == null) {
stl = org.apache.xmlbeans.XmlBeans.typeLoaderForClassLoader(org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType.class.getClassLoader());
typeLoader = new java.lang.ref.SoftReference(stl);
}
return stl;
}
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType newInstance() {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().newInstance( type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( xmlAsString, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( file, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( file, type, options ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( u, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( u, type, options ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( is, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( is, type, options ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( r, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( r, type, options ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( sr, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( sr, type, options ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( node, type, null ); }
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
@Deprecated
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
@Deprecated
public static org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.openxmlformats.schemas.presentationml.x2006.main.STSlideSizeType) getTypeLoader().parse( xis, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
@Deprecated
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return getTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
@Deprecated
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return getTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
private Factory() { } // No instance of this class allowed
}
}