Class DTMSafeStringPool

java.lang.Object
org.apache.xml.dtm.ref.DTMStringPool
org.apache.xml.dtm.ref.DTMSafeStringPool

public class DTMSafeStringPool extends DTMStringPool

Like DTMStringPool, but threadsafe. It's been proposed that DTMs share their string pool(s); that raises threadsafety issues which this addresses. Of course performance is inferior to that of the bare-bones version.

Status: Passed basic test in main().

  • Constructor Details

    • DTMSafeStringPool

      public DTMSafeStringPool()
  • Method Details