/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
/**
* <p>A read-only XNI wrapper around a JAXP NamespaceContext.</p>
*
* @author Michael Glavassevich, IBM
*
* @version $Id: JAXPNamespaceContextWrapper.java,v 1.2 2010-10-26 23:01:13 joehw Exp $
*/
private int fCurrentContext;
}
}
return fNamespaceContext;
}
}
return fSymbolTable;
}
}
return fPrefixes;
}
/*
* NamespaceContext methods
*/
if (fNamespaceContext != null) {
}
}
return null;
}
if (fNamespaceContext != null) {
}
}
}
return null;
}
// There may be duplicate prefixes in the list so we
// first transfer them to a set to ensure uniqueness.
}
public void pushContext() {
// extend the array, if necessary
}
// push context
}
}
public void popContext() {
}
return true;
}
public int getDeclaredPrefixCount() {
}
}
public void reset() {
fCurrentContext = 0;
}
} // JAXPNamespaceContextWrapper