java-class.xsl revision 3215
0N/A ! The contents of this file are subject to the terms of the 0N/A ! Common Development and Distribution License, Version 1.0 only 0N/A ! (the "License"). You may not use this file except in compliance 0N/A ! You can obtain a copy of the license at 0N/A ! See the License for the specific language governing permissions 0N/A ! and limitations under the License. 0N/A ! When distributing Covered Code, include this CDDL HEADER in each 0N/A ! file and include the License file at 0N/A ! add the following below this CDDL HEADER, with the fields enclosed 1472N/A ! by brackets "[]" replaced with your own identifying information: 1472N/A ! Portions Copyright [yyyy] [name of copyright owner] 0N/A ! Copyright 2008 Sun Microsystems, Inc. 727N/A Templates for processing java class properties. 727N/A <
xsl:
template match="adm:java-class" mode="java-value-type">
727N/A <
xsl:
value-
of select="'String'" />
0N/A <
xsl:
template match="adm:java-class" mode="java-definition-type">
727N/A <
xsl:
value-
of select="'ClassPropertyDefinition'" />
727N/A <
xsl:
template match="adm:java-class" mode="java-definition-ctor">
727N/A <
xsl:
for-
each select="adm:instance-of">
727N/A The first instance of element added to the definition 727N/A will become the primary type for the class. This first 727N/A element is guaranteed to be the first instance-of field 727N/A appearing in the property's definition heirarchy working 727N/A normalize-space(), '");
')" />