Changeset 23887 in vbox
- Timestamp:
- Oct 19, 2009 7:26:26 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53670
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/websrv-php.xsl
r22379 r23887 10 10 web service API. Depends on WSDL file for actual SOAP bindings. 11 11 12 Copyright (C) 200 8Sun Microsystems, Inc.12 Copyright (C) 2009 Sun Microsystems, Inc. 13 13 14 14 This file is part of VirtualBox Open Source Edition (OSE), as … … 84 84 <xsl:param name="attrtype" /> 85 85 <xsl:param name="attrsafearray" /> 86 <xsl:variable name="fname"><xsl:call-template name="makeSetterName"><xsl:with-param name="attrname" select="$attrname"/></xsl:call-template> 86 <xsl:variable name="fname"><xsl:call-template name="makeSetterName"><xsl:with-param name="attrname" select="$attrname"/></xsl:call-template></xsl:variable> 87 87 public function <xsl:value-of select="$fname"/>($value) { 88 88 $request = stdClass(); … … 102 102 <xsl:variable name="ifname"><xsl:value-of select="@name" /></xsl:variable> 103 103 <xsl:variable name="wsmap"><xsl:value-of select="@wsmap" /></xsl:variable> 104 <xsl:variable name="extends"><xsl:value-of select="@extends" /></xsl:variable> 104 105 <xsl:text> 105 106 /** 106 107 * Generated VBoxWebService Interface Wrapper 107 */</xsl:text> 108 class <xsl:value-of select="$ifname"/> extends VBox_ManagedObject 109 { 108 */ 109 </xsl:text> 110 <xsl:choose> 111 <xsl:when test="($extends = '$unknown') or ($extends = '$dispatched') or ($extends = '$errorinfo')"> 112 <xsl:value-of select="concat('class ', $ifname, ' extends VBox_ManagedObject { ')" /> 113 </xsl:when> 114 <xsl:when test="//interface[@name=$extends]"> 115 <xsl:value-of select="concat('class ', $ifname, ' extends ', $extends, ' { ')" /> 116 </xsl:when> 117 </xsl:choose> 110 118 <xsl:for-each select="method"> 111 119 <xsl:call-template name="method"> … … 225 233 <xsl:text>)</xsl:text> 226 234 </xsl:if> 227 <xsl:text>;</xsl:text> 228 <xsl:text> </xsl:text> 235 <xsl:text>; </xsl:text> 229 236 </xsl:template> 230 237 … … 257 264 258 265 /* 259 * Copyright (C) 200 8Sun Microsystems, Inc.266 * Copyright (C) 2009 Sun Microsystems, Inc. 260 267 * 261 268 * This file is part of VirtualBox Open Source Edition (OSE), as
Note:
See TracChangeset
for help on using the changeset viewer.