FileDocCategorySizeDatePackage
Fallback.javaAPI DocJava SE 5 API2361Fri Aug 26 14:55:34 BST 2005com.sun.org.apache.xalan.internal.xsltc.compiler

Fallback

public final class Fallback extends Instruction
author
Morten Jorgensen

Fields Summary
private boolean
_active
Constructors Summary
Methods Summary
public voidactivate()
Activate this fallback element

	_active = true;
    
public voidparseContents(com.sun.org.apache.xalan.internal.xsltc.compiler.Parser parser)
Parse contents only if this fallback element is put in place of some unsupported element or non-XSLTC extension element

	if (_active) parseChildren(parser);
    
public java.lang.StringtoString()

	return("fallback");
    
public voidtranslate(com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator classGen, com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator methodGen)
Translate contents only if this fallback element is put in place of some unsupported element or non-XSLTC extension element

	final ConstantPoolGen cpg = classGen.getConstantPool();
	final InstructionList il = methodGen.getInstructionList();

	if (_active) translateContents(classGen, methodGen);
    
public com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypetypeCheck(com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable stable)
This element never produces any data on the stack


                  
          
	if (_active) {
	    return(typeCheckContents(stable));
	}
	else {
	    return Type.Void;
	}