org.purl.dc.dcmitype.DCMIType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.poi
Show all versions of org.apache.servicemix.bundles.poi
This OSGi bundle wraps poi, poi-contrib, poi-ooxml, poi-ooxml-schemas and poi-scratchpad ${pkgVersion} jar files.
/*
* XML Type: DCMIType
* Namespace: http://purl.org/dc/dcmitype/
* Java type: org.purl.dc.dcmitype.DCMIType
*
* Automatically generated - do not modify.
*/
package org.purl.dc.dcmitype;
/**
* An XML DCMIType(@http://purl.org/dc/dcmitype/).
*
* This is a union type. Instances are of one of the following types:
* org.purl.dc.dcmitype.DCMIType$Member
*/
public interface DCMIType extends org.apache.xmlbeans.XmlAnySimpleType
{
java.lang.Object getObjectValue();
void setObjectValue(java.lang.Object val);
/** @deprecated */
java.lang.Object objectValue();
/** @deprecated */
void objectSet(java.lang.Object val);
org.apache.xmlbeans.SchemaType instanceType();
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(DCMIType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s0B482D0B338CC9641C1543C3510577FE").resolveHandle("dcmitypeae14type");
/**
* An anonymous inner XML type.
*
* This is an atomic type that is a restriction of org.purl.dc.dcmitype.DCMIType$Member.
*/
public interface Member extends org.apache.xmlbeans.XmlName
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Member.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s0B482D0B338CC9641C1543C3510577FE").resolveHandle("anon8db9type");
org.apache.xmlbeans.StringEnumAbstractBase enumValue();
void set(org.apache.xmlbeans.StringEnumAbstractBase e);
static final Enum COLLECTION = Enum.forString("Collection");
static final Enum DATASET = Enum.forString("Dataset");
static final Enum EVENT = Enum.forString("Event");
static final Enum IMAGE = Enum.forString("Image");
static final Enum INTERACTIVE_RESOURCE = Enum.forString("InteractiveResource");
static final Enum SERVICE = Enum.forString("Service");
static final Enum SOFTWARE = Enum.forString("Software");
static final Enum SOUND = Enum.forString("Sound");
static final Enum TEXT = Enum.forString("Text");
static final Enum PHYSICAL_OBJECT = Enum.forString("PhysicalObject");
static final int INT_COLLECTION = Enum.INT_COLLECTION;
static final int INT_DATASET = Enum.INT_DATASET;
static final int INT_EVENT = Enum.INT_EVENT;
static final int INT_IMAGE = Enum.INT_IMAGE;
static final int INT_INTERACTIVE_RESOURCE = Enum.INT_INTERACTIVE_RESOURCE;
static final int INT_SERVICE = Enum.INT_SERVICE;
static final int INT_SOFTWARE = Enum.INT_SOFTWARE;
static final int INT_SOUND = Enum.INT_SOUND;
static final int INT_TEXT = Enum.INT_TEXT;
static final int INT_PHYSICAL_OBJECT = Enum.INT_PHYSICAL_OBJECT;
/**
* Enumeration value class for org.purl.dc.dcmitype.DCMIType$Member.
* 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_COLLECTION
* 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_COLLECTION = 1;
static final int INT_DATASET = 2;
static final int INT_EVENT = 3;
static final int INT_IMAGE = 4;
static final int INT_INTERACTIVE_RESOURCE = 5;
static final int INT_SERVICE = 6;
static final int INT_SOFTWARE = 7;
static final int INT_SOUND = 8;
static final int INT_TEXT = 9;
static final int INT_PHYSICAL_OBJECT = 10;
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
new org.apache.xmlbeans.StringEnumAbstractBase.Table
(
new Enum[]
{
new Enum("Collection", INT_COLLECTION),
new Enum("Dataset", INT_DATASET),
new Enum("Event", INT_EVENT),
new Enum("Image", INT_IMAGE),
new Enum("InteractiveResource", INT_INTERACTIVE_RESOURCE),
new Enum("Service", INT_SERVICE),
new Enum("Software", INT_SOFTWARE),
new Enum("Sound", INT_SOUND),
new Enum("Text", INT_TEXT),
new Enum("PhysicalObject", INT_PHYSICAL_OBJECT),
}
);
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.purl.dc.dcmitype.DCMIType.Member newValue(java.lang.Object obj) {
return (org.purl.dc.dcmitype.DCMIType.Member) type.newValue( obj ); }
public static org.purl.dc.dcmitype.DCMIType.Member newInstance() {
return (org.purl.dc.dcmitype.DCMIType.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static org.purl.dc.dcmitype.DCMIType.Member newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.purl.dc.dcmitype.DCMIType.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
private Factory() { } // No instance of this class allowed
}
}
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static org.purl.dc.dcmitype.DCMIType newValue(java.lang.Object obj) {
return (org.purl.dc.dcmitype.DCMIType) type.newValue( obj ); }
public static org.purl.dc.dcmitype.DCMIType newInstance() {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static org.purl.dc.dcmitype.DCMIType newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static org.purl.dc.dcmitype.DCMIType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static org.purl.dc.dcmitype.DCMIType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static org.purl.dc.dcmitype.DCMIType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static org.purl.dc.dcmitype.DCMIType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static org.purl.dc.dcmitype.DCMIType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.purl.dc.dcmitype.DCMIType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.purl.dc.dcmitype.DCMIType 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.purl.dc.dcmitype.DCMIType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
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 org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
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 org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
private Factory() { } // No instance of this class allowed
}
}