| java.lang.Object com.bluecast.xml.FastNamespaceSupport
FastNamespaceSupport | public class FastNamespaceSupport (Code) | | This class improves performance over NamespaceSupport by
assuming that most XML documents have very few namespaces. Therefore,
instead of performing expensive copying operations of hash tables,
arrays and linear searches are used instead.
NOTE: This class is not a drop-in replacement for NamespaceSupport. This
class assumes that passed URIs are already internalized! Also, getURI()
returns "" instead of null if a prefix is not found.
author: Yuval Oren version: $Revision: 1.5 $ |
FastNamespaceSupport | public FastNamespaceSupport()(Code) | | |
getContextPrefix | public String getContextPrefix(int index)(Code) | | |
getContextSize | public int getContextSize()(Code) | | |
popContext | public void popContext()(Code) | | |
pushContext | public void pushContext()(Code) | | |
reset | public void reset()(Code) | | |
|
|