When.java revision 286
0N/A * DO NOT REMOVE OR ALTER! 0N/A * Copyright 2001-2004 The Apache Software Foundation. 0N/A * Licensed under the Apache License, Version 2.0 (the "License"); 2362N/A * you may not use this file except in compliance with the License. 0N/A * You may obtain a copy of the License at 0N/A * Unless required by applicable law or agreed to in writing, software 0N/A * distributed under the License is distributed on an "AS IS" BASIS, 0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0N/A * See the License for the specific language governing permissions and 0N/A * limitations under the License. 0N/A * @author Jacek Ambroziak 0N/A * @author Santiago Pericas-Geertsen 0N/A * @author Morten Jorgensen 0N/A // Ignore xsl:if when test is false (function-available() and 0N/A // element-available()) 0N/A // Make sure required attribute(s) have been set 0N/A * Type-check this when element. The test should always be type checked, 0N/A * while we do not bother with the contents if we know the test fails. 0N/A * This is important in cases where the "test" expression tests for 0N/A * the support of a non-available element, and the <xsl:when> body contains 0N/A * this non-available element. 0N/A // Type-check the test expression 0N/A // Type-check the contents (if necessary) 0N/A * This method should never be called. An Otherwise object will explicitly 0N/A * translate the "test" expression and and contents of this element.