286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 1999-2004 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A// J2SE does not support Xalan interpretive 286N/Aimport com.sun.org.apache.xalan.internal.transformer.TransformerImpl; 286N/A * Execute the ExtElementAvailable() function. 286N/A * Execute the function. The function must return 286N/A * @param xctxt The current execution context. 286N/A * @return A valid XObject. 286N/A * @throws javax.xml.transform.TransformerException 286N/A // J2SE does not support Xalan interpretive 286N/A TransformerImpl transformer = (TransformerImpl) xctxt.getOwnerObject(); 286N/A return transformer.getStylesheet().getAvailableElements().containsKey( 286N/A new QName(namespace, methName)) 286N/A ? XBoolean.S_TRUE : XBoolean.S_FALSE; 286N/A } catch (Exception e) { 286N/A return XBoolean.S_FALSE;