XML11NamespaceBinder.java revision 1113:2fdbfbde3bc0
1139823Simp/* 2133920Sandre * reserved comment block 3133920Sandre * DO NOT REMOVE OR ALTER! 4133920Sandre */ 5133920Sandre/* 6133920Sandre * Licensed to the Apache Software Foundation (ASF) under one or more 7133920Sandre * contributor license agreements. See the NOTICE file distributed with 8133920Sandre * this work for additional information regarding copyright ownership. 9133920Sandre * The ASF licenses this file to You under the Apache License, Version 2.0 10133920Sandre * (the "License"); you may not use this file except in compliance with 11133920Sandre * the License. You may obtain a copy of the License at 12133920Sandre * 13133920Sandre * http://www.apache.org/licenses/LICENSE-2.0 14133920Sandre * 15133920Sandre * Unless required by applicable law or agreed to in writing, software 16133920Sandre * distributed under the License is distributed on an "AS IS" BASIS, 17133920Sandre * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18133920Sandre * See the License for the specific language governing permissions and 19133920Sandre * limitations under the License. 20133920Sandre */ 21133920Sandre 22133920Sandrepackage com.sun.org.apache.xerces.internal.impl; 23133920Sandre 24133920Sandre 25133920Sandre/** 26133920Sandre * This class performs namespace binding on the startElement and endElement 27172467Ssilby * method calls in accordance with Namespaces in XML 1.1. It extends the standard, 28172467Ssilby * Namespace-1.0-compliant binder in order to do this. 29172467Ssilby * 30134346Sru * @xerces.internal 31133920Sandre * 32133920Sandre * @author Neil Graham, IBM 33133920Sandre * 34133920Sandre */ 35133920Sandrepublic class XML11NamespaceBinder extends XMLNamespaceBinder { 36133920Sandre 37134383Sandre // 38152928Sume // Constants 39133920Sandre // 40133920Sandre 41133920Sandre // 42133920Sandre // Data 43133920Sandre // 44133920Sandre 45133920Sandre // 46185895Szec // Constructors 47185895Szec // 48133920Sandre 49133920Sandre /** Default constructor. */ 50133920Sandre public XML11NamespaceBinder() { 51133920Sandre } // <init>() 52181803Sbz // 53133920Sandre // Public methods 54188676Sluigi // 55133920Sandre 56133920Sandre // 57133920Sandre // Protected methods 58133920Sandre // 59133920Sandre 60133920Sandre // returns true iff the given prefix is bound to "" *and* 61133920Sandre // this is disallowed by the version of XML namespaces in use. 62133920Sandre protected boolean prefixBoundToNullURI(String uri, String localpart) { 63133920Sandre return false; 64133920Sandre } // prefixBoundToNullURI(String, String): boolean 65133920Sandre 66133920Sandre} // class XML11NamespaceBinder 67141351Sglebius