SymbolTable.java revision 286
325N/A * reserved comment block 325N/A * DO NOT REMOVE OR ALTER! 325N/A * Copyright 2001-2004 The Apache Software Foundation. 325N/A * Licensed under the Apache License, Version 2.0 (the "License"); 325N/A * you may not use this file except in compliance with the License. 325N/A * You may obtain a copy of the License at 325N/A * Unless required by applicable law or agreed to in writing, software 325N/A * distributed under the License is distributed on an "AS IS" BASIS, 325N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 325N/A * See the License for the specific language governing permissions and 325N/A * limitations under the License. 325N/A * @author Jacek Ambroziak 325N/A * @author Santiago Pericas-Geertsen 325N/A * @author Morten Jorgensen 325N/A // These hashtables are used for all stylesheets 325N/A // These hashtables are used for some stylesheets 325N/A * Add a primitive operator or function to the symbol table. To avoid 325N/A * name clashes with user-defined names, the prefix <tt>PrimopPrefix</tt> 325N/A * Lookup a primitive operator or function in the symbol table by 325N/A * prepending the prefix <tt>PrimopPrefix</tt>. 325N/A * This is used for xsl:attribute elements that have a "namespace" 325N/A * attribute that is currently not defined using xmlns: 325N/A * Use a namespace prefix to lookup a namespace URI 325N/A * Adds an alias for a namespace prefix 325N/A * Retrieves any alias for a given namespace prefix 325N/A * Register a namespace URI so that it will not be declared in the output 325N/A * unless it is actually referenced in the output. 325N/A // The null-namespace cannot be excluded 325N/A // Create new hashtable of exlcuded URIs if none exists 325N/A // Register the namespace URI 325N/A * Exclude a series of namespaces given by a list of whitespace 325N/A * separated namespace prefixes. 325N/A * Check if a namespace should not be declared in the output (unless used) 325N/A * Turn of namespace declaration exclusion 325N/A * Exclusion of namespaces by a stylesheet does not extend to any stylesheet 325N/A * imported or included by the stylesheet. Upon entering the context of a 325N/A * new stylesheet, a call to this method is needed to clear the current set 325N/A * of excluded namespaces temporarily. Every call to this method requires 325N/A * a corresponding call to {@link #popExcludedNamespacesContext()}. 325N/A * Exclusion of namespaces by a stylesheet does not extend to any stylesheet 325N/A * imported or included by the stylesheet. Upon exiting the context of a 325N/A * stylesheet, a call to this method is needed to restore the set of 325N/A * excluded namespaces that was in effect prior to entering the context of 325N/A * the current stylesheet.