If.java revision 286
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: If.java,v 1.2.4.1 2005/09/01 15:39:47 pvedula Exp $
*/
/**
* @author Jacek Ambroziak
* @author Santiago Pericas-Geertsen
* @author Morten Jorgensen
*/
final class If extends Instruction {
private Expression _test;
private boolean _ignore = false;
/**
* Display the contents of this element
*/
}
/**
* Parse the "test" expression and contents of this element.
*/
// Parse the "test" expression
// Make sure required attribute(s) have been set
return;
}
// Ignore xsl:if when test is false (function-available() and
// element-available())
}
}
/**
* Type-check the "test" expression and contents of this element.
* The contents will be ignored if we know the test will always fail.
*/
// Type-check the "test" expression
}
// Type check the element contents
if (!_ignore) {
}
}
/**
* Translate the "test" expression and contents of this element.
* The contents will be ignored if we know the test will always fail.
*/
// remember end of condition
if (!_ignore) {
}
}
}