/* * Copyright (c) Contributors, http://www.openmetaverse.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * Neither the name of the OpenSim Project nor the * names of its contributors may be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ namespace Nwc.XmlRpc { using System; /// Class collecting String tokens that are part of XML-RPC files. public class XmlRpcXmlTokens { /// C# formatting string to describe an ISO 8601 date. public const String ISO_DATETIME = "yyyyMMdd\\THH\\:mm\\:ss"; /// Base64 field indicator. /// Corresponds to the <base64> tag. public const String BASE64 = "base64"; /// String field indicator. /// Corresponds to the <string> tag. public const String STRING = "string"; /// Integer field integer. /// Corresponds to the <i4> tag. public const String INT = "i4"; /// Alternate integer field indicator. /// Corresponds to the <int> tag. public const String ALT_INT = "int"; /// Date field indicator. /// Corresponds to the <dateTime.iso8601> tag. public const String DATETIME = "dateTime.iso8601"; /// Boolean field indicator. /// Corresponds to the <boolean> tag. public const String BOOLEAN = "boolean"; /// Value token. /// Corresponds to the <value> tag. public const String VALUE = "value"; /// Name token. /// Corresponds to the <name> tag. public const String NAME = "name"; /// Array field indicator.. /// Corresponds to the <array> tag. public const String ARRAY = "array"; /// Data token. /// Corresponds to the <data> tag. public const String DATA = "data"; /// Member token. /// Corresponds to the <member> tag. public const String MEMBER = "member"; /// Stuct field indicator. /// Corresponds to the <struct> tag. public const String STRUCT = "struct"; /// Double field indicator. /// Corresponds to the <double> tag. public const String DOUBLE = "double"; /// Param token. /// Corresponds to the <param> tag. public const String PARAM = "param"; /// Params token. /// Corresponds to the <params> tag. public const String PARAMS = "params"; /// MethodCall token. /// Corresponds to the <methodCall> tag. public const String METHOD_CALL = "methodCall"; /// MethodName token. /// Corresponds to the <methodName> tag. public const String METHOD_NAME = "methodName"; /// MethodResponse token /// Corresponds to the <methodResponse> tag. public const String METHOD_RESPONSE = "methodResponse"; /// Fault response token. /// Corresponds to the <fault> tag. public const String FAULT = "fault"; /// FaultCode token. /// Corresponds to the <faultCode> tag. public const String FAULT_CODE = "faultCode"; /// FaultString token. /// Corresponds to the <faultString> tag. public const String FAULT_STRING = "faultString"; } }