1 /* 2 * JBoss, Home of Professional Open Source. 3 * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 * as indicated by the @author tags. See the copyright.txt file in the 5 * distribution for a full listing of individual contributors. 6 * 7 * This is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU Lesser General Public License as 9 * published by the Free Software Foundation; either version 2.1 of 10 * the License, or (at your option) any later version. 11 * 12 * This software is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this software; if not, write to the Free 19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 */ 22 package javax.xml.rpc.encoding; 23 24 import javax.xml.namespace.QName; 25 26 /** Constants for common XML Schema and SOAP 1.1 types. 27 * 28 * @author Scott.Stark@jboss.org 29 */ 30 public class XMLType 31 { 32 public static final QName SOAP_ARRAY = QName.valueOf("{SOAP-ENC}Array"); 33 public static final QName SOAP_BASE64 = QName.valueOf("{SOAP-ENC}base64"); 34 public static final QName SOAP_BOOLEAN = QName.valueOf("{SOAP-ENC}boolean"); 35 public static final QName SOAP_BYTE = QName.valueOf("{SOAP-ENC}byte"); 36 public static final QName SOAP_DOUBLE = QName.valueOf("{SOAP-ENC}double"); 37 public static final QName SOAP_FLOAT = QName.valueOf("{SOAP-ENC}float"); 38 public static final QName SOAP_INT = QName.valueOf("{SOAP-ENC}int"); 39 public static final QName SOAP_LONG = QName.valueOf("{SOAP-ENC}long"); 40 public static final QName SOAP_SHORT = QName.valueOf("{SOAP-ENC}short"); 41 public static final QName SOAP_STRING = QName.valueOf("{SOAP-ENC}string"); 42 public static final QName XSD_BASE64 = QName.valueOf("{SOAP-ENC}base64Binary"); 43 public static final QName XSD_BOOLEAN = QName.valueOf("{SOAP-ENC}boolean"); 44 public static final QName XSD_BYTE = QName.valueOf("{xsd}byte"); 45 public static final QName XSD_DATETIME = QName.valueOf("{xsd}dateTime"); 46 public static final QName XSD_DECIMAL = QName.valueOf("{xsd}decimal"); 47 public static final QName XSD_DOUBLE = QName.valueOf("{xsd}double"); 48 public static final QName XSD_FLOAT = QName.valueOf("{xsd}float"); 49 public static final QName XSD_HEXBINARY = QName.valueOf("{xsd}hexBinary"); 50 public static final QName XSD_INT = QName.valueOf("{xsd}int"); 51 public static final QName XSD_INTEGER = QName.valueOf("{xsd}integer"); 52 public static final QName XSD_LONG = QName.valueOf("{xsd}long"); 53 public static final QName XSD_QNAME = QName.valueOf("{xsd}QName"); 54 public static final QName XSD_SHORT = QName.valueOf("{xsd}short"); 55 public static final QName XSD_STRING = QName.valueOf("{xsd}string"); 56 }