Here are the examples of the java api class com.sun.org.apache.xerces.internal.util.NamespaceContextWrapper taken from open source projects.
1. XMLEventAllocatorImpl#setNamespaceContext()
Project: openjdk
File: XMLEventAllocatorImpl.java
File: XMLEventAllocatorImpl.java
//Revisit : Creating a new Namespacecontext for now. //see if we can do better job. private void setNamespaceContext(StartElementEvent event, XMLStreamReader xmlr) { NamespaceContextWrapper contextWrapper = (NamespaceContextWrapper) xmlr.getNamespaceContext(); NamespaceSupport ns = new NamespaceSupport(contextWrapper.getNamespaceContext()); event.setNamespaceContext(new NamespaceContextWrapper(ns)); }