/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.metamodels.xsd; import org.eclipse.xsd.util.XSDConstants; import org.teiid.designer.core.types.DatatypeConstants; /** * @since 8.0 */ public class XsdConstants extends XSDConstants { /** * The value <code>"http://www.metamatrix.com/2005/XmlSchema/EnterpriseDatatypes"</code>. */ public static final String SCHEMA_FOR_ENTERPRISE_DATATYPES_URI_2005 = DatatypeConstants.SCHEMA_FOR_ENTERPRISE_DATATYPES_URI_2005; /** * The value <code>"http://www.metamatrix.com/2005/XmlSchema/EnterpriseDatatypes"</code>. */ public static final String PREFIX_FOR_ENTERPRISE_DATATYPES_URI_2005 = DatatypeConstants.PREFIX_FOR_ENTERPRISE_DATATYPES_URI_2005; /** * Returns whether the given namespace is the XML Schema Enterprise Datatype namespace. * * @param namespace a namespace. * @return whether the given namespace is the XML Schema Enterprise Datatype namespace. */ public static boolean isSchemaEnterpriseDatatypeNamespace( final String namespace ) { return DatatypeConstants.isSchemaEnterpriseDatatypeNamespace(namespace); } /** * Returns whether the given namespace prefix is the XML Schema Enterprise Datatype namespace prefix. * * @param prefix a namespace prefix. * @return whether the given namespace prefix is the XML Schema Enterprise Datatype namespace prefix. */ public static boolean isSchemaEnterpriseDatatypeNamespacePrefix( final String prefix ) // NO_UCD { return DatatypeConstants.isSchemaEnterpriseDatatypeNamespacePrefix(prefix); } }