Class UriCanonicalizer


  • public final class UriCanonicalizer
    extends java.lang.Object
    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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String canonicalizeURI​(char[] ch, int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UriCanonicalizer

        public UriCanonicalizer()
    • Method Detail

      • canonicalizeURI

        public java.lang.String canonicalizeURI​(char[] ch,
                                                int len)