Package com.ctc.wstx.util
package com.ctc.wstx.util
Contains utility classes that are not directly Woodstox specific, but are
for now only used by Woodstox.
Note that some of more generic classes may eventually be moved to more
generic packages under com.ctc
package.
-
ClassesClassDescriptionSimple static utility class that contains (static) utility methods useful when parsing non-typesafe arguments (String-only configuration, command line args).Abstract base class that defines extra features defined by most NamespaceContext implementations Wodstox uses.Helper class that implements "bijective map" (Map that allows use of values as keys and vice versa, bidirectional access), and is specifically used for storing namespace binding information.Factory class used for instantiating pre-populated XML symbol tables.Simple container Object used to store information about id attribute values, and references to such (as of yet undefined) values.This class is a specialized type-safe linked hash map used for storing
ElementId
instances.DummyNamespaceContext
(andBaseNsContext
) implementation that is usually used in non-namespace-aware mode.Singleton class that implements "fast intern" functionality, essentially adding a layer that caches Strings that have been previously intern()ed, but that probably shouldn't be added to symbol tables.Simple key Object to be used for storing/accessing of potentially namespace scoped element and attribute names.SimpleCache<K,V> Simple Map implementation usable for caches where contents do not expire, but where size needs to remain bounded.SimpleCache.LimitMap<K,V> Data container similarList
(from storage perspective), but that can be used in multiple ways.This class is a kind of specialized type-safe Map, from char array to String value.This class is a symbol table entry.Simple utility class used to efficiently accumulate and concatenate text passed in various formsTextBuffer is a class similar toStringBuilder
, with following differences: TextBuffer uses segments character arrays, to avoid having to do additional array copies when array is not big enough.Class similar toStringBuilder
, except that it can be used to construct multiple Strings, that will share same underlying character buffer.A specialized Map/Symbol table - like data structure that can be used for both checking whether a word (passed in as a char array) exists in certain set of words AND getting that word as a String.An efficient (both memory and time) implementation of a Set used to verify that a given word is contained within the set.Simple utility class that encapsulates logic of determining validity of characters outside basic 7-bit range of Unicode, for XML 1.0