Package com.fasterxml.aalto.util
Class UriCanonicalizer
java.lang.Object
com.fasterxml.aalto.util.UriCanonicalizer
This class is used for canonicalization of namespace URIs.
It will act as a layer above String.intern(), trying to reduce
calls to somewhat slow intern() method, and to do that as efficiently
as possible considering that Strings in question are often
longer than names in xml documents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
We'll use a bounded map, which should work well for most normal cases, but avoid excesses for degenerate cases (unique URIs used as idenfitiers etc).(package private) static final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
mURIs
-
-
Constructor Details
-
UriCanonicalizer
public UriCanonicalizer()
-
-
Method Details
-
init
private void init() -
canonicalizeURI
-