Changeset 20844 in vbox
- Timestamp:
- Jun 23, 2009 2:53:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/glue-jaxws.xsl
r18887 r20844 829 829 <xsl:otherwise> 830 830 831 <xsl:variable name="extends" select="//interface[@name=$ifname]/@extends" /> 832 <xsl:choose> 833 <xsl:when test="($extends = '$unknown') or ($extends = '$dispatched')"> 834 <xsl:value-of select="concat('public class ', $ifname, ' extends IUnknown { ')" /> 835 </xsl:when> 836 <xsl:when test="//interface[@name=$extends]"> 837 <xsl:value-of select="concat('public class ', $ifname, ' extends ', $extends, ' { ')" /> 838 </xsl:when> 839 <xsl:otherwise> 840 <xsl:call-template name="fatalError"> 841 <xsl:with-param name="msg" select="concat('Interface generation: interface "', $ifname, '" has invalid "extends" value ', $extends, '.')" /> 842 </xsl:call-template> 843 </xsl:otherwise>> 844 </xsl:choose> 845 831 846 <!-- interface (class) constructor --> 832 <xsl:value-of select="concat('public class ', $ifname, ' extends IUnknown { ')" />833 847 <xsl:value-of select="concat(' public static ', $ifname, ' cast(IUnknown other) { ')" /> 834 848 <xsl:value-of select="concat(' return new ', $ifname,
Note:
See TracChangeset
for help on using the changeset viewer.