All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal 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

There is a newer version: 5.2.5
Show newest version
/*
 * XML Type:  ST_SchemeColorVal
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
 * Java type: org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.main;


/**
 * An XML ST_SchemeColorVal(@http://schemas.openxmlformats.org/drawingml/2006/main).
 *
 * This is an atomic type that is a restriction of org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal.
 */
public interface STSchemeColorVal extends org.apache.xmlbeans.XmlToken
{
    org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        Factory.getTypeLoader().resolveHandle("stschemecolorval722etype");
    
    org.apache.xmlbeans.StringEnumAbstractBase getEnumValue();
    void setEnumValue(org.apache.xmlbeans.StringEnumAbstractBase e);
    
    static final Enum BG_1 = Enum.forString("bg1");
    static final Enum TX_1 = Enum.forString("tx1");
    static final Enum BG_2 = Enum.forString("bg2");
    static final Enum TX_2 = Enum.forString("tx2");
    static final Enum ACCENT_1 = Enum.forString("accent1");
    static final Enum ACCENT_2 = Enum.forString("accent2");
    static final Enum ACCENT_3 = Enum.forString("accent3");
    static final Enum ACCENT_4 = Enum.forString("accent4");
    static final Enum ACCENT_5 = Enum.forString("accent5");
    static final Enum ACCENT_6 = Enum.forString("accent6");
    static final Enum HLINK = Enum.forString("hlink");
    static final Enum FOL_HLINK = Enum.forString("folHlink");
    static final Enum PH_CLR = Enum.forString("phClr");
    static final Enum DK_1 = Enum.forString("dk1");
    static final Enum LT_1 = Enum.forString("lt1");
    static final Enum DK_2 = Enum.forString("dk2");
    static final Enum LT_2 = Enum.forString("lt2");
    
    static final int INT_BG_1 = Enum.INT_BG_1;
    static final int INT_TX_1 = Enum.INT_TX_1;
    static final int INT_BG_2 = Enum.INT_BG_2;
    static final int INT_TX_2 = Enum.INT_TX_2;
    static final int INT_ACCENT_1 = Enum.INT_ACCENT_1;
    static final int INT_ACCENT_2 = Enum.INT_ACCENT_2;
    static final int INT_ACCENT_3 = Enum.INT_ACCENT_3;
    static final int INT_ACCENT_4 = Enum.INT_ACCENT_4;
    static final int INT_ACCENT_5 = Enum.INT_ACCENT_5;
    static final int INT_ACCENT_6 = Enum.INT_ACCENT_6;
    static final int INT_HLINK = Enum.INT_HLINK;
    static final int INT_FOL_HLINK = Enum.INT_FOL_HLINK;
    static final int INT_PH_CLR = Enum.INT_PH_CLR;
    static final int INT_DK_1 = Enum.INT_DK_1;
    static final int INT_LT_1 = Enum.INT_LT_1;
    static final int INT_DK_2 = Enum.INT_DK_2;
    static final int INT_LT_2 = Enum.INT_LT_2;
    
    /**
     * Enumeration value class for org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal.
     * 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_BG_1
     * 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_BG_1 = 1; static final int INT_TX_1 = 2; static final int INT_BG_2 = 3; static final int INT_TX_2 = 4; static final int INT_ACCENT_1 = 5; static final int INT_ACCENT_2 = 6; static final int INT_ACCENT_3 = 7; static final int INT_ACCENT_4 = 8; static final int INT_ACCENT_5 = 9; static final int INT_ACCENT_6 = 10; static final int INT_HLINK = 11; static final int INT_FOL_HLINK = 12; static final int INT_PH_CLR = 13; static final int INT_DK_1 = 14; static final int INT_LT_1 = 15; static final int INT_DK_2 = 16; static final int INT_LT_2 = 17; public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = new org.apache.xmlbeans.StringEnumAbstractBase.Table ( new Enum[] { new Enum("bg1", INT_BG_1), new Enum("tx1", INT_TX_1), new Enum("bg2", INT_BG_2), new Enum("tx2", INT_TX_2), new Enum("accent1", INT_ACCENT_1), new Enum("accent2", INT_ACCENT_2), new Enum("accent3", INT_ACCENT_3), new Enum("accent4", INT_ACCENT_4), new Enum("accent5", INT_ACCENT_5), new Enum("accent6", INT_ACCENT_6), new Enum("hlink", INT_HLINK), new Enum("folHlink", INT_FOL_HLINK), new Enum("phClr", INT_PH_CLR), new Enum("dk1", INT_DK_1), new Enum("lt1", INT_LT_1), new Enum("dk2", INT_DK_2), new Enum("lt2", INT_LT_2), } ); 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. */ 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.main.STSchemeColorVal newValue(java.lang.Object obj) { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) type.newValue( obj ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal newInstance() { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().newInstance( type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal newInstance(org.apache.xmlbeans.XmlOptions options) { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().newInstance( type, options ); } /** @param xmlAsString the string value to parse */ public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( xmlAsString, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( xmlAsString, type, options ); } /** @param file the file from which to load an xml document */ public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( file, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( file, type, options ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( u, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( u, type, options ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( is, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( is, type, options ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( r, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( r, type, options ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( sr, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( sr, type, options ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( node, type, null ); } public static org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { return (org.openxmlformats.schemas.drawingml.x2006.main.STSchemeColorVal) getTypeLoader().parse( node, type, options ); } private Factory() { } // No instance of this class allowed } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy